httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: apache nt: can't read environment under cgi?
Date Tue, 02 Dec 1997 19:35:23 GMT
Shane Caraveo wrote:
> 
> Hello,
> I've been trying to get php3 working as cgi under apache nt.  Works
> fine at command prompt, and as cgi under mspws.  I traced it down to
> php getting NULL back on an environment variable it needs to run.
> This variable is set in autoexec under win95.  Are environment
> variables not accessable to cgi programes under apache??

You have to either set them or pass them in your config - see SetEnv and
PassEnv.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message