From 993c983f1096348d8f4855d6d81b5c49bc0196bd Mon Sep 17 00:00:00 2001
From: Eric Covener
Date: Tue, 30 Nov 2010 13:48:55 +0000
Subject: [PATCH] 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/trunk@1040517 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_env.xml | 27 ++++++++++++++++-----------
docs/manual/mod/mod_setenvif.xml | 5 +++--
2 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/docs/manual/mod/mod_env.xml b/docs/manual/mod/mod_env.xml
index f845063f0e..97bac32d8e 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 c970500312..d1a101b4a9 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,
--
2.40.0