You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by ro...@apache.org on 2009/06/26 17:00:42 UTC
svn commit: r788727 - in /tcl/websh/trunk: doc/quickref.xml src/ChangeLog
Author: ronnie
Date: Fri Jun 26 15:00:42 2009
New Revision: 788727
URL: http://svn.apache.org/viewvc?rev=788727&view=rev
Log:
- Added missing documentation for [web::config] mod_websh subcommands
Modified:
tcl/websh/trunk/doc/quickref.xml
tcl/websh/trunk/src/ChangeLog
Modified: tcl/websh/trunk/doc/quickref.xml
URL: http://svn.apache.org/viewvc/tcl/websh/trunk/doc/quickref.xml?rev=788727&r1=788726&r2=788727&view=diff
==============================================================================
--- tcl/websh/trunk/doc/quickref.xml (original)
+++ tcl/websh/trunk/doc/quickref.xml Fri Jun 26 15:00:42 2009
@@ -217,6 +217,43 @@
</varlistentry>
</variablelist>
+ <para>
+The following subcommands are also read-only. They return the current request environment within mod_websh (and if applicable in CGI mode):
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term><option>script</option></term>
+ <listitem>
+ <para>
+ Returns the path to the currently requestes Websh script.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>server_root</option></term>
+ <listitem>
+ <para>
+ Returns the Apache ServerRoot configuration path.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>document_root</option></term>
+ <listitem>
+ <para>
+ Returns the Apache DocumentRoot configuration path.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>interpclass</option></term>
+ <listitem>
+ <para>
+ Returns the interpclass the current request was mapped to (see <command>web::interpmap</command> command).
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<example>
<title>web::config</title>
Modified: tcl/websh/trunk/src/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/websh/trunk/src/ChangeLog?rev=788727&r1=788726&r2=788727&view=diff
==============================================================================
--- tcl/websh/trunk/src/ChangeLog (original)
+++ tcl/websh/trunk/src/ChangeLog Fri Jun 26 15:00:42 2009
@@ -1,5 +1,6 @@
2009-06-26 Brunner Ronnie <ro...@netcetera.ch>
* doc/quickref.xml:
+ - Added documentation of [web::config] mod_websh subcommands
- Fixed minor typos
- Added documentation of [web::config safelog]
* doc/quickref.xsl:
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org