You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mark R Bannister <ma...@proseconsulting.co.uk> on 2010/12/10 16:15:47 UTC

[users@httpd] Re: SERVER_ADDR and REMOTE_ADDR corrupt?

 On Fri 10/12/10 14:09 , Mark R Bannister mark@proseconsulting.co.uk sent:
> Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7d DAV/2 Server 
> Sun Solaris 10 (update 8)
> cgi-bin scripts getting corrupt IP addresses in SERVER_ADDR and
> REMOTE_ADDR:
> SERVER_ADDR=28.97.76.182.76.182
> REMOTE_ADDR=11.163.130.254130.254
> 
> Tried various combinations (shell script vs. python, firefox vs. IE, proxy
> vs. no proxy) but always get the same results above.
> Tested out on another server with identical OS and version of Apache, and
> on this host it works:
> SERVER_ADDR=28.97.72.42
> REMOTE_ADDR=11.163.130.254
> 
> 
> Can anyone think of what might be going wrong and how to fix it?
> 
> Thanks,
> Mark Bannister.

The server where it was broken had Sun/Oracle shipped version of Apache (SUNWapch2u) and patch 120544-21 installed.  Reverted to patch 120544-20 and the problem went away.

- Mark.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org