2 <?xml-stylesheet type="text/xsl" href="../style/manual.xsl"?>
6 <description>Modifies the environment which is
7 passed to CGI scripts and SSI pages</description>
9 <sourcefile>mod_env.c</sourcefile>
10 <identifier>env_module</identifier>
12 <p>This module allows for control of the environment that will
13 be provided to CGI scripts and SSI pages. Environment variables
14 may be passed from the shell which invoked the httpd process.
15 Alternatively, environment variables may be set or unset within
16 the configuration process.</p>
18 <seealso><a href="../env.html">Environment Variables</a></seealso>
22 <description>Passes environment variables from the shell</description>
24 <em>env-variable</em> [<em>env-variable</em>] ...</syntax>
26 <context>server config</context><context>virtual host</context>
27 <context>directory</context><context>.htaccess</context>
29 <override>FileInfo</override>
32 <p>Specifies one or more environment variables to pass to CGI
33 scripts and SSI pages from the environment of the shell which
34 invoked the httpd process. Example:</p>
36 PassEnv LD_LIBRARY_PATH
43 <description>Sets environment variables</description>
44 <syntax>SetEnv <em>env-variable value</em></syntax>
46 <context>server config</context><context>virtual host</context>
47 <context>directory</context><context>.htaccess</context>
49 <override>FileInfo</override>
52 <p>Sets an environment variable, which is then passed on to CGI
53 scripts and SSI pages. Example:</p>
55 SetEnv SPECIAL_PATH /foo/bin
62 <description>Removes variables from the environment</description>
63 <syntax>UnsetEnv <em>env-variable</em> [<em>env-variable</em>] ...</syntax>
65 <context>server config</context><context>virtual host</context>
66 <context>directory</context><context>.htaccess</context>
68 <override>FileInfo</override>
71 <p>Removes one or more environment variables from those passed
72 on to CGI scripts and SSI pages. Example:</p>
74 UnsetEnv LD_LIBRARY_PATH