From: Vincent Deffontaines Date: Wed, 21 Aug 2013 18:55:47 +0000 (+0000) Subject: #55441 fix - document that SetEnv cannot set PATH in 2.2 X-Git-Tag: 2.2.26~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24aaa17abe3aa98e56c8340af5b4058bf1834fac;p=thirdparty%2Fapache%2Fhttpd.git #55441 fix - document that SetEnv cannot set PATH in 2.2 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1516258 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_env.html.en b/docs/manual/mod/mod_env.html.en index e4999a143ff..0cde6ca4cce 100644 --- a/docs/manual/mod/mod_env.html.en +++ b/docs/manual/mod/mod_env.html.en @@ -39,8 +39,8 @@ SSI pages

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, + 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.

Directives

@@ -68,8 +68,8 @@ SSI pages

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 propagated to CGI scripts and SSI pages. Values come from the - native OS environment of the shell which invoked the + as well as propagated to CGI scripts and SSI pages. Values come from the + native OS environment of the shell which invoked the httpd process.

Example

@@ -87,13 +87,13 @@ SSI pages Status:Base Module:mod_env -

Sets an internal environment variable, which is then available to Apache +

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

- +

If you omit the value argument, the variable is set to an empty string.

@@ -101,11 +101,13 @@ SSI pages after most early request processing directives are run, such as access control and URI-to-filename mapping. If the environment variable you're setting is meant as input into this early phase of processing such as the - RewriteRule directive, you should + RewriteRule directive, you should instead set the environment variable with SetEnvIf.

- +

On 2.2, the PATH environment variable cannot be set using Setenv.

+
+

See also

    diff --git a/docs/manual/mod/mod_env.xml b/docs/manual/mod/mod_env.xml index d918c6abfc6..2abe6783238 100644 --- a/docs/manual/mod/mod_env.xml +++ b/docs/manual/mod/mod_env.xml @@ -32,8 +32,8 @@ SSI pages

    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, + 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 @@ -51,8 +51,8 @@ SSI pages

    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 propagated to CGI scripts and SSI pages. Values come from the - native OS environment of the shell which invoked the + as well as propagated to CGI scripts and SSI pages. Values come from the + native OS environment of the shell which invoked the httpd process.

    Example @@ -70,13 +70,13 @@ SSI pages FileInfo -

    Sets an internal environment variable, which is then available to Apache +

    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 - +

    If you omit the value argument, the variable is set to an empty string.

    @@ -84,11 +84,13 @@ SSI pages after most early request processing directives are run, such as access control and URI-to-filename mapping. If the environment variable you're setting is meant as input into this early phase of processing such as the - RewriteRule directive, you should + RewriteRule directive, you should instead set the environment variable with SetEnvIf.

    - +

    On 2.2, the PATH environment variable cannot be set using Setenv.

    +
    +
    Environment Variables