You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Na...@cybernetsoft.com on 2005/06/24 13:34:57 UTC
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
Re: Access of Server variables by users
Posted by Kaushal Jha - ZEDO <ka...@zedo.com>.
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 -----
From: Narasimha.Sridhar@cybernetsoft.com
To: dev@httpd.apache.org
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