httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Fish" <seada...@cox.net>
Subject RE: Process environment variables
Date Thu, 27 Jun 2002 07:04:14 GMT
Aha!  This worked just great... Thanks!!

-Dan

-----Original Message-----
From: Boyle Owen [mailto:Owen.Boyle@swx.com]
Sent: Wednesday, June 26, 2002 4:13 AM
To: users@httpd.apache.org
Subject: RE: Process environment variables


>From: Dan Fish [mailto:seadancr@cox.net]
>
>I'd like to add a couple of environment variables that are globally
>available to several of my CGI scripts.  I thought maybe since
>the server
>runs under user Nobody and Nobody has the shell set to /bin/sh
>with $HOME=/
>that I could just add them to  /.profile, but when I try to
>access them via
>Perl's Env mod, they don't exist...
>
>Where does the server get it's environment settings from?? (I.E. PATH)

If you want to pass anything to the daemons (e.g. for use in CGI), you have
to specifically do this with PassEnv, e.g.

PassEnv LD_LIBRARY_PATH

Check the doscs for this directive for details

Rgds,

Owen Boyle


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message