I am looking to deploy Apache 2.2 on a Windows box as a reverse-proxy to two servers. The following is what I have in httpd.conf on the reverse-proxy.
ProxyPass /app [XX.XX.XX.XX...]
ProxyPassReverse /app [XX.XX.XX.XX...]
ProxyHTMLURLMap [192.168.122.184...] /app
ProxyPass /backup/app [YY.YY.YY.YY...]
ProxyPassReverse /backup/app [YY.YY.YY.YY...]
ProxyHTMLURLMap [YY.YY.YY.YY...] /backup/app
The first server XX.XX.XX.XX is the main application and the proxy is able to redirect browser requests without any problems. However, the second server is not reachable through the proxy.
I turned on LogLevel Debug and the proxy's error.log has the following.
[Wed Mar 19 22:08:20 2008] [error] [client XX.XX.ZZ.ZZ] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/backup
Also, the direct access to second server, bypassing the proxy, using [YY.YY.YY.YY...] works fine, both from the browser client as well as from the proxy.
Is there anything I am missing?