mod_envmod_env overviewmod_env module is used for control of w3wp process environment variables that will be provided to CGI scripts and SSI pages. Alternatively, environment variables may be set or unset within the configuration process. mod_env directivesPassEnv
Actually, PassEnv directive is left for Apache compatibility and practically does not perform any actions. This happens because IIS unlike Apache automatically adds the list of w3wp process environment variables to the list of server variables. Example:
SetEnv
SetEnv directive sets an environment variable that is then passed on to CGI scripts and SSI pages. Example:
UnsetEnv
UnsetEnv removes one or more environment variables from those passed to CGI scripts and SSI pages. Example:
|