httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] mod_status ans X-Real-IP?
Date Mon, 22 Mar 2010 09:39:59 GMT
2010/3/22 Vladimir Dvorak - mailinglists <vladimir.dvorak@vdsoft.org>:
> Hello to all,
>
> i need to view /server-status;  problem is that my Apache is behind the http
> proxy (nginx) and status page shows only IP of proxy, not the IP of original
> host.
>
> Is there any possibility to "patch" mod_status.c (or anything else?) to be
> able to show X-Real-IP variable? (I pass X-Real-IP in HTTP header to
> Apache).
>
> Thank you in advance for your suggestions.
>
> Vladimir
>

mod_rpaf2 or mod_remoteip can be configured to do this. It won't patch
mod_status, it will make the request appear to come from the client IP
in all cases.

Cheers

Tom

---------------------------------------------------------------------
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


Mime
View raw message