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   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
          "Hell is hot, that's never been disputed by anybody."

Reply via email to