are you using apache 1.3  or apache 2.0 ?
 
apache2.0 series has this provision inside the apachectl file
 
 
# pick up any necessary environment variables
if test -f [path_to_your_apache]/bin/
envvars; then
  . [path_to_your_apache]/bin/envvars
fi
 
update the envvars file and restart your apache server
 
 
 
 
 
----- Original Message -----
Sent: Friday, June 24, 2005 5:04 PM
Subject: Access of Server variables by users


Hi All

I have a situation where postgres user will set an enviroment variable and this variable must be
available to apache user (or nobody user) so that the i can manupulate something based on this
variable in my php application.

Can anyone throw some light as to how to proceed in this situation

Thanks in advance
--Sridhar

Reply via email to