[thelist] mod perl and $ENV

Katherine Spice k.spice at acu.ac.uk
Mon Dec 18 06:01:27 CST 2000


Hi All,

Here's my problem:

I have a standard webserver which accepts connections on port 80, and a
mod perl server which accepts connections on port 81, but only from the
standard webserver (apache on linux btw, and both services running on
one machine).  The problem is that all cgi scripts are run by the mod
perl server, and ENV variables are not passing from the standard
webserver to the mod perl server (so for example if I want to output the
referring IP address from a cgi, I get 127.0.0.1 (ie localhost) which
makes perfect sense!). How to I configure apache to pass these
variables?

TIA,
Katherine




More information about the thelist mailing list