693N/A<!
DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
693N/A<
TITLE>Apache module mod_env</
TITLE>
693N/A<
H1>Apache module mod_env</
h1>
693N/Ais not compiled in by default. It provides for
693N/Apassing environment variables to
CGI/
SSI scripts. Is is only available
693N/Ain Apache 1.1 and later.
693N/AThis module allows Apache's CGI and SSI environment to inherit
693N/Aenvironment variables from the shell which invoked the httpd process.
693N/ACERN webservers are able to do this, so this module is especially
693N/Auseful to webadmins who wish to migrate from CERN to Apache without
693N/Arewriting all their scripts
693N/A<
li><
A HREF="#passenv">PassEnv</
A>
693N/A<
li><
A HREF="#setenv">SetEnv</
A>
693N/A<
A name="passenv"><
h2>PassEnv</
h2></
A>
693N/A<
strong>Syntax:</
strong> PassEnv <
em>variable</
em><
br>
693N/A<
strong>Context:</
strong> server config, virtual host<
br>
693N/A<
strong>Status:</
strong> Base<
br>
693N/A<
strong>Module:</
strong> mod_env<
br>
693N/A<
strong>Compatibility:</
strong> PassEnv is only available in
693N/AApache 1.1 and later.<
p>
693N/APasses an environment variable to CGI scripts from the servers's own
693N/A PassEnv LD_LIBRARY_PATH
693N/A<
A name="setenv"><
h2>SetEnv</
h2></
A>
693N/A<
strong>Syntax:</
strong> SetEnv <
em>variable value</
em><
br>
693N/A<
strong>Context:</
strong> server config, virtual host<
br>
693N/A<
strong>Status:</
strong> Base<
br>
693N/A<
strong>Module:</
strong> mod_env<
br>
693N/A<
strong>Compatibility:</
strong> SetEnv is only available in
693N/AApache 1.1 and later.<
p>
693N/ASets an environment variable, which is then passed on to CGI