<-
Apache > HTTP Server > Documentation > Version 2.0 > Modules

Apache Module mod_env

Description: Modifies the environment which is passed to CGI scripts and SSI pages
Status: Base
Module Identifier: env_module
Source File: mod_env.c

Summary

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.

Directives

See also

top

PassEnv DirectiHTTP/1.1 200 OK Date: Mon, 07 Jul 2025 09:09:01 GMT Server: Apache/2.0.42 (Win32) PHP/5.2.10 Content-Location: mod_env.html.en Vary: negotiate,accept-language,accept-charset TCN: choice Accept-Ranges: bytes Content-Length: 6928 Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Content-Type: text/html; charset=ISO-8859-1 Content-Language: en mod_env - Apache HTTP Server
<-

Apache Module mod_env

Description: Modifies the environment which is passed to CGI scripts and SSI pages
Status: Base
Module Identifier: env_module
Source File: mod_env.c

Summary

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.

top

PassEnv Directive

Description: Passes environment variables from the shell
Synta