Installation guide

Chapter 13. Apache Configuration 125
Figure 13-5. Environment Variables
Use the Set for CGI Scripts section to set an environment variable that is passed to CGI
scripts and SSI pages. For example, to set the environment variable MAXNUM to 50, click the
Add button inside the Set for CGI Script section as shown in Section 13.2.3 and type MAXNUM
in the Environment Variable text field and 50 in the Value to set text field. Click OK. The
Set for CGI Scripts section configures the SetEnv directive.
Use the Pass to CGI Scripts section to pass the value of an environment variable when
Apache was first started to CGI scripts. To see this environment variable, type the command
env at a shell prompt. Click the Add button inside the Pass to CGI Scripts section and enter
the name of the environment variable in the resulting dialog box. Click OK. The Pass to CGI
Scripts section configures the PassEnv directive.
If you want to remove an environment variable so that the value is not passed to CGI scripts
and SSI pages, use the Unset for CGI Scripts section. Click Add in the Unset for CGI Scripts
section, and enter the name of the environment variable to unset. This corresponds to the
UnsetEnv directive.
13.2.4. Directories
Use the Directories page to configure options for specific directories. This corresponds to
the
Directory directive.