mod_env.html revision 44afbb2bc1622ddf021058e2a157cfd31fb67fd0
3c13a815670b54d1c17bf02954f7d2b066cde95cnd<!--#include virtual="header.html" -->
931ea9439b37055d01a03dde53b3c5a8953884d2jfclereThis module is contained in the <code>mod_env.c</code> file, and
931ea9439b37055d01a03dde53b3c5a8953884d2jfclereis not compiled in by default. It provides for
931ea9439b37055d01a03dde53b3c5a8953884d2jfclerepassing environment variables to CGI/SSI scripts. Is is only available
931ea9439b37055d01a03dde53b3c5a8953884d2jfclerein Apache 1.1 and later.
931ea9439b37055d01a03dde53b3c5a8953884d2jfclereThis module allows Apache's CGI and SSI environment to inherit
931ea9439b37055d01a03dde53b3c5a8953884d2jfclereenvironment variables from the shell which invoked the httpd process.
3f08db06526d6901aa08c110b5bc7dde6bc39905ndCERN web-servers are able to do this, so this module is especially
3c13a815670b54d1c17bf02954f7d2b066cde95cnduseful to web-admins who wish to migrate from CERN to Apache without
931ea9439b37055d01a03dde53b3c5a8953884d2jfclererewriting all their scripts
931ea9439b37055d01a03dde53b3c5a8953884d2jfclere<strong>Syntax:</strong> PassEnv <em>variable</em><br>
931ea9439b37055d01a03dde53b3c5a8953884d2jfclere<strong>Context:</strong> server config, virtual host<br>
931ea9439b37055d01a03dde53b3c5a8953884d2jfclere<strong>Compatibility:</strong> PassEnv is only available in
931ea9439b37055d01a03dde53b3c5a8953884d2jfclereApache 1.1 and later.<p>
931ea9439b37055d01a03dde53b3c5a8953884d2jfclerePasses an environment variable to CGI scripts from the server's own
931ea9439b37055d01a03dde53b3c5a8953884d2jfclereenvironment. Example:
931ea9439b37055d01a03dde53b3c5a8953884d2jfclere PassEnv LD_LIBRARY_PATH
931ea9439b37055d01a03dde53b3c5a8953884d2jfclere<strong>Syntax:</strong> SetEnv <em>variable value</em><br>
931ea9439b37055d01a03dde53b3c5a8953884d2jfclere<strong>Context:</strong> server config, virtual host<br>
931ea9439b37055d01a03dde53b3c5a8953884d2jfclere<strong>Compatibility:</strong> SetEnv is only available in
931ea9439b37055d01a03dde53b3c5a8953884d2jfclereApache 1.1 and later.<p>
931ea9439b37055d01a03dde53b3c5a8953884d2jfclereSets an environment variable, which is then passed on to CGI
931ea9439b37055d01a03dde53b3c5a8953884d2jfclerescripts. Example:
931ea9439b37055d01a03dde53b3c5a8953884d2jfclere<!--#include virtual="footer.html" -->