From: Joshua Slive Date: Sat, 5 May 2001 19:20:19 +0000 (+0000) Subject: Explain the difference between the Apache environment and X-Git-Tag: 2.0.18~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5853a8c4c6ad94ae9d2af2dae76b5cc21d4cacbb;p=apache Explain the difference between the Apache environment and the OS environment. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89023 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/env.html b/docs/manual/env.html index f436e32819..23f8c4bac2 100644 --- a/docs/manual/env.html +++ b/docs/manual/env.html @@ -15,11 +15,23 @@

Environment Variables in Apache

-

Many operating systems provide a facility for storage and -transmission of information called environment variables. Apache uses -environment variables in many ways to control operations and to -communicate with other programs like CGI scripts. This document -explains some of the ways to use environment variables in Apache.

+

The Apache HTTP Server provides a mechanism for storing information +in named variables that are called environment variables. +This information can be used to control various operations such as +logging or access control. The variables are also used as a mechanism +to communicate with external programs such as CGI scripts. This +document discusses different ways to manipulate and use these +variables.

+ +

Although these variables are referred to as environment +variables, they are not the same as the environment variables +controlled by the underlying operating system. Instead, these +variables are stored and manipulated in an internal Apache structure. +They only become actual operating system environment variables when +they are provided to CGI scripts and Server Side Include scripts. If +you wish to manipulate the operating system environment under which +the server itself runs, you must use the standard environment +manipulation mechanisms provided by your operating system shell.