I run a bulletin board website that logs the IP address of each person who posts and displays it next to their name in the post.
Recently (in another thread) I asked why webalizer wasn't tracking where hits were coming from (the pie chart at the bottom) and someone helped me by setting the HostnameLookups Off to HostnameLookups On in the httpd.conf file in /etc/httpd/conf
All of the sudden, the IP addresses were not being logged by the script, the REMOTE_HOST variable was no longer being sent by the server (or so that is what I was told by the scripts author) so the variable never recieved a value in the script.
I went back into httpd.conf and changed the HostnameLookups to Off again, and now the IP addresses show up.
Is it possible that when this is enabled the "REMOTE_HOST" ariable is nto being initialized? Or could it have something to do with each sites indiviual httpd.conf file?
Recently (in another thread) I asked why webalizer wasn't tracking where hits were coming from (the pie chart at the bottom) and someone helped me by setting the HostnameLookups Off to HostnameLookups On in the httpd.conf file in /etc/httpd/conf
All of the sudden, the IP addresses were not being logged by the script, the REMOTE_HOST variable was no longer being sent by the server (or so that is what I was told by the scripts author) so the variable never recieved a value in the script.
I went back into httpd.conf and changed the HostnameLookups to Off again, and now the IP addresses show up.
Is it possible that when this is enabled the "REMOTE_HOST" ariable is nto being initialized? Or could it have something to do with each sites indiviual httpd.conf file?