CGI (env "REMOTE_ADDR") question
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
CGI (env "REMOTE_ADDR") question
Do any of you CGI wizards know why (env "REMOTE_ADDR") in a CGI environment sometimes returns two IP addresses rather than one?
-
- Posts: 253
- Joined: Thu Oct 07, 2004 7:21 pm
- Location: Palmer Alaska USA
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
Well, the matching entry in the Apache log is like this:
- that's a spammer caught in the act of posting some spam. :) My code is using (env REMOTE_ADDR) and therefore picking up two IP addresses ...
Since these double IPs appear a lot in the log, I had presumed they're something well known..
Code: Select all
64.27.13.129, 217.219.95.60 - - [05/Jun/2008:02:17:37 -0700] "POST /comment.cgi HTTP/1.0" 200 59498 ...
Since these double IPs appear a lot in the log, I had presumed they're something well known..
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact: