Mac OS X: APACHE/CGI ENVIRONMENT VARIABLES

tommyxy

Registered
Does anybody have experience with CGI ENVIRONMENT Variables with MAC OSX?

The variables: $ENV{'REMOTE_ADDR'} always returns the IP of my server. It doesn't return the right value!!

anybody have any ideas? maybe there's another variable i should be using?
 
i think that you must be either behind a proxy or behind a NAT firewall.

check the apache log, it should show the IP address as well.
 
i figured out the problem myself. the apache httpd.conf was reading in http_macosxserver.conf. for some reason the http_macosxserver.conf was messing everything up. i just deleted the lines where httpd.conf was reading in http_macosxserver.conf and everything ran fine
 
Back
Top