Re: mod_status ans X-Real-IP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
>
> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux