From: Eric Covener
Date: Tue, 30 Nov 2010 13:49:57 +0000 (+0000)
Subject: Merge r1040517 from trunk:
X-Git-Tag: 2.2.18~280
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2d257406de86c20e278b3e11284fa3c25f34d6b;p=thirdparty%2Fapache%2Fhttpd.git
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)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1040519 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_env.xml b/docs/manual/mod/mod_env.xml
index f845063f0ee..97bac32d8e8 100644
--- a/docs/manual/mod/mod_env.xml
+++ b/docs/manual/mod/mod_env.xml
@@ -29,13 +29,15 @@ SSI pages
mod_env.c
env_module
- 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 httpd
- process. Alternatively, environment variables may be set or unset within
- the configuration process.
+ 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 httpd process. Alternatively,
+ environment variables may be set or unset within the configuration process.
Environment Variables
+SetEnvIf
PassEnv
@@ -47,9 +49,11 @@ SSI pages
FileInfo
- Specifies one or more environment variables to pass to CGI
- scripts and SSI pages from the environment of the shell which
- invoked the httpd process.
+ 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
+ httpd process.
Example
PassEnv LD_LIBRARY_PATH
@@ -66,8 +70,8 @@ SSI pages
FileInfo
- Sets an environment variable, which is then passed on to CGI
- scripts and SSI pages.
+ Sets an internal environment variable, which is then available to Apache
+ HTTP Server modules, and passed on to CGI scripts and SSI pages.
Example
SetEnv SPECIAL_PATH /foo/bin
@@ -83,6 +87,7 @@ SSI pages
+Environment Variables
@@ -95,7 +100,7 @@ SSI pages
FileInfo
- Removes one or more environment variables from those passed
+
Removes one or more internal environment variables from those passed
on to CGI scripts and SSI pages.
Example
diff --git a/docs/manual/mod/mod_setenvif.xml b/docs/manual/mod/mod_setenvif.xml
index 306d3429191..1caefd8670e 100644
--- a/docs/manual/mod/mod_setenvif.xml
+++ b/docs/manual/mod/mod_setenvif.xml
@@ -33,10 +33,11 @@ on characteristics of the request
The mod_setenvif 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.
+ to make decisions about actions to be taken, as well as becoming
+ available to CGI scripts and SSI pages.
The directives are considered in the order they appear in
the configuration files. So more complex sequences can be used,