There is something very strange with these variables. For example I can logged SERVER_NAME in the log file thus there is really something that I do not understand. How the same variable can be expansed for logging but in the same time be unavailable for creating a header... I have not find any list in documentation describing the scope of availabilty of each variables. I do not have seen either a list of variable from apache docs. It seems to spread among the modules documentations ---------------------------------------- > Date: Tue, 14 Dec 2010 09:57:53 -0500 > From: covener@xxxxxxxxx > To: users@xxxxxxxxxxxxxxxx > Subject: Re: environment variables manipulation in httpd.conf > > On Tue, Dec 14, 2010 at 9:51 AM, A D wrote: > > > > Thanks for quick the response. > > I do not have seen any explanation about the variables and when they are available in the documentation. > > Is there any solution to have them available everywhere ie outside a cgi. > > Modules like setenvif or mod_rewrite might might let you expose > various internal data as environment variables. > > Does the manual say SERVER_NAME should be available in the environment? > > -- > Eric Covener > covener@xxxxxxxxx > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx