Hi to all,
i have an apache external and more apache internal. On external Apache
I set more VirtualHost and with mod_proxy talk with all internal
apache.
For example:
ProxyRequests On
ProxyPass /
http://192.168.0.1/
ProxyPassReverse /
http://192.168.0.1/
But I have a problem with log. I would like which every internal
apache keep it log, with IP external and not with a IP of external
Apache.
Example:
Apache Ext.
192.168.0.1 Apache1 Int 192.168.0.2
__ __
| |----------------|-----| |
|__| | |__|
| __
|-----| | Apache2 Int 192.168.0.3
|__|
On Internal Apache1 and Apache2 in the log I have always 192.168.0.1
as request but on external Apache I have the real IP of internet. Can
I take it from header Via and put it in the log of internal Apache?
Thanks for help.
Andrew