httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1040519 - in /httpd/httpd/branches/2.2.x/docs/manual/mod: mod_env.xml mod_setenvif.xml
Date Tue, 30 Nov 2010 13:49:57 GMT
Author: covener
Date: Tue Nov 30 13:49:57 2010
New Revision: 1040519

URL: http://svn.apache.org/viewvc?rev=1040519&view=rev
Log:
Merge r1040517 from trunk:

PR50382:  explain in mod_env documentation that these environment variables aren't just for
CGI and SSI.

(short rehash of info in env.html)



Modified:
    httpd/httpd/branches/2.2.x/docs/manual/mod/mod_env.xml
    httpd/httpd/branches/2.2.x/docs/manual/mod/mod_setenvif.xml

Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_env.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_env.xml?rev=1040519&r1=1040518&r2=1040519&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_env.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_env.xml Tue Nov 30 13:49:57 2010
@@ -29,13 +29,15 @@ SSI pages</description>
 <sourcefile>mod_env.c</sourcefile>
 <identifier>env_module</identifier>
 <summary>
-    <p>This module allows for control of the environment that will
-    be provided to CGI scripts and SSI pages. Environment variables
-    may be passed from the shell which invoked the <program>httpd</program>
-    process. Alternatively, environment variables may be set or unset within
-    the configuration process.</p>
+    <p>This module allows for control of internal environment variables that
+    are used by various Apache HTTP Server modules. These variables are also
+    provided to CGI scripts as native system environment variables, and available
+    for use in SSI pages. Environment variables may be passed from the shell 
+    which invoked the <program>httpd</program> process. Alternatively, 
+    environment variables may be set or unset within the configuration process.</p>
 </summary>
 <seealso><a href="../env.html">Environment Variables</a></seealso>
+<seealso><directive module="mod_setenvif">SetEnvIf</directive></seealso>
 
 <directivesynopsis>
 <name>PassEnv</name>
@@ -47,9 +49,11 @@ SSI pages</description>
 <override>FileInfo</override>
 
 <usage>
-    <p>Specifies one or more environment variables to pass to CGI
-    scripts and SSI pages from the environment of the shell which
-    invoked the <program>httpd</program> process.</p>
+    <p>Specifies one or more native system environment variables to make available
+    as internal environment variables, which are available to Apache HTTP Server modules
+    as well as propogated to CGI scripts and SSI pages. Values come from the 
+    native OS environment of the shell which invoked the 
+    <program>httpd</program> process.</p>
 
     <example><title>Example</title>
       PassEnv LD_LIBRARY_PATH
@@ -66,8 +70,8 @@ SSI pages</description>
 <override>FileInfo</override>
 
 <usage>
-    <p>Sets an environment variable, which is then passed on to CGI
-    scripts and SSI pages.</p>
+    <p>Sets an internal environment variable, which is then available to Apache 
+    HTTP Server modules, and passed on to CGI scripts and SSI pages.</p>
 
     <example><title>Example</title>
       SetEnv SPECIAL_PATH /foo/bin
@@ -83,6 +87,7 @@ SSI pages</description>
     </note>
      
 </usage>
+<seealso><a href="../env.html">Environment Variables</a></seealso>
 </directivesynopsis>
 
 <directivesynopsis>
@@ -95,7 +100,7 @@ SSI pages</description>
 <override>FileInfo</override>
 
 <usage>
-    <p>Removes one or more environment variables from those passed
+    <p>Removes one or more internal environment variables from those passed
     on to CGI scripts and SSI pages.</p>
 
     <example><title>Example</title>

Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_setenvif.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_setenvif.xml?rev=1040519&r1=1040518&r2=1040519&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_setenvif.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_setenvif.xml Tue Nov 30 13:49:57 2010
@@ -33,10 +33,11 @@ on characteristics of the request</descr
 <summary>
 
     <p>The <module>mod_setenvif</module> module allows you to set
-    environment variables according to whether different aspects of
+    internal environment variables according to whether different aspects of
     the request match regular expressions you specify. These
     environment variables can be used by other parts of the server
-    to make decisions about actions to be taken.</p>
+    to make decisions about actions to be taken, as well as becoming
+    available to CGI scripts and SSI pages.</p>
 
     <p>The directives are considered in the order they appear in
     the configuration files. So more complex sequences can be used,



Mime
View raw message