httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <>
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



Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|
and Technical Director|Email: |Apache-SSL author
A.L. Digital Ltd,     |
London, England.      |"Apache: TDG"

View raw message