httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: setenv/unsetenv?
Date Fri, 06 Apr 2001 00:55:02 GMT
Rasmus Lerdorf wrote:
> 
> But what about the poor user who sticks an unsetenv into their
> global-scope httpd.conf expecting it to unset a database-related
> environment variable like ORACLE_HOME or PGHOST or something along those
> lines such that any Apache module like mod_auth_*, PHP, mod_perl, etc.
> will not use that env variable.  It is somewhat confusing that this works
> for CGI and mod_include, but nowhere else.
> 

Most likely, the best solution would be to:

	env - \
	PATH=/bin \
	HOME=/usr/local/apache \
	/usr/local/apache/httpd .....

or a suitable hacked apachectl or rc.httpd
-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
          "Hell is hot, that's never been disputed by anybody."

Mime
View raw message