Summary
This module allows the HTTP Server CGI and SSI environment to inherit environment variables.
Directives
Module: mod_env | |
Syntax: PassEnv variable [variable ...] | |
Default: none | |
Context: server config, virtual host, directory, .htaccess | |
Override: none | |
Origin: Apache | |
Example: PassEnv LD_LIBRARY_PATH |
The PassEnv directive specifies one or more environment variables to pass to the CGI scripts. The variables originate from the server's own environment. See Environment variables on HTTP Server for more information.
Module: mod_env | |
Syntax: SetEnv variable [value] | |
Default: none | |
Context: server config, virtual host, directory, .htaccess | |
Override: FileInfo | |
Origin: Apache | |
Examples:
|
The SetEnv directive allows you to set an environment variable that is passed on to CGI scripts. See Environment variables on HTTP Server for more information.
Module: mod_env | |
Syntax: UnsetEnv variable [variable ...] | |
Default: none | |
Context: server config, virtual host, directory, .htaccess | |
Override: none | |
Origin: Apache | |
Example: UnsetEnv LD_LIBRARY_PATH |
The UnsetEnv directive removes one or more environment variables from those passed on to CGI scripts. See Environment variables on HTTP Server for more information.