Nginx + apache : REMOTE_ADDR and REMOTE_HOST bug

Albuquerque Rui saiaman01 at gmail.com
Tue Aug 30 16:06:37 UTC 2011


Hello,
i've got a "funny" bug.

My installation is Nginx 1.0 and apache ( httpd ) behind.

Apache got's mod_rpaf activated and HostNameLookups On.

When testing a php script i find this problem :

_SERVER["REMOTE_HOST"]************<= my webserver hostname
_SERVER["REMOTE_ADDR"]82.125.151.3<= my ip



Any idea ??? it's really strange.


Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20110830/be1ad4c4/attachment.html>


More information about the nginx mailing list