> ### Apache HTTP Server Version 2.0

> # Apache Module mod_env

> Description: | <description>Modifies the environment which is passed to CGI scripts and SSI pages</description>
> Status: | Base
> Module Identifier: | env_module

> ## 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.

> See also

> - Environment Variables

> ## Directives

> - PassEnv
> - SetEnv
> - UnsetEnv

> ## PassEnv Directive

> Description: | Passes environment variables from the shell
> Syntax: | <syntax>PassEnv env-variable [env-variable] ...</syntax>
> Context: | server config, virtual host, directory, .htaccess
> Override: | FileInfo
> Status: | Base
> Module: | mod_env

> <usage>

> Specifies one or more environment variables to pass to CGI scripts and SSI pages from the environment of the shell which invoked the httpd process. Example:

> > `PassEnv LD_LIBRARY_PATH`

> </usage>

> ## SetEnv Directive

> Description: | Sets environment variables
> Syntax: | <syntax>SetEnv env-variable value</syntax>
> Context: | server config, virtual host, directory, .htaccess
> Override: | FileInfo
> Status: | Base
> Module: | mod_env

> <usage>

> Sets an environment variable, which is then passed on to CGI scripts and SSI pages. Example:

> > `SetEnv SPECIAL_PATH /foo/bin`

> </usage>

> ## UnsetEnv Directive

> Description: | Removes variables from the environment
> Syntax: | <syntax>UnsetEnv env-variable [env-variable] ...</syntax>
> Context: | server config, virtual host, directory, .htaccess
> Override: | FileInfo
> Status: | Base
> Module: | mod_env

> <usage>

> Removes one or more environment variables from those passed on to CGI scripts and SSI pages. Example:

> > `UnsetEnv LD_LIBRARY_PATH`

> </usage>

> ### Apache HTTP Server Version 2.0