19.14 mod_env

Team-Fly    

 
Webmaster in a Nutshell, 3rd Edition
By Robert Eckstein, Stephen Spainhour
Table of Contents
Chapter 19.  Apache Modules

19.14 mod_env

The mod_env module manages how environment variables are passed to CGI/SSI scripts from the shell running the httpd server. It contains three straightforward directives.

PassEnv

  PassEnv   variable  ... 

[ server config or within <VirtualHost>]

Passes one or more environment variables to the server CGI scripts.

 PassEnv HOME 
SetEnv

  SetEnv   variable  value 

[ server config or within <VirtualHost>]

Sets one or more environment variables in the context of a server CGI script.

 SetEnv HOME /home/mike 
UnsetEnv

  UnsetEnv   variable  ... 

[ server config or within <VirtualHost>]

Unsets ( removes ) one or more environment variables from the context of a server CGI script.

 UnsetEnv HOME 

Team-Fly    
Top


Webmaster in a Nutshell
Webmaster in a Nutshell, Third Edition
ISBN: 0596003579
EAN: 2147483647
Year: 2002
Pages: 412

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net