Tom Evans wrote:
2010/3/22 Vladimir Dvorak - mailinglists <vladimir.dvorak@xxxxxxxxxx>: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. Vladimirmod_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 ---------------------------------------------------------------------
Thank you Tom for your hint. mod_rpaf2 works excellent!Note: We use Debian Lenny with its Apache 2.2.x and mod_remoteip is just for 2.3.x branch.
Vladimir -- Vladimir Dvorak Linux/Unix geek Web: http://www.vdsoft.org --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx