![]() |
|
#1
|
|||
|
|||
Apache reverse proxy config help.Hi,
I am looking to deploy Apache 2.2 on a Windows box as a reverse-proxy to two servers. I used raw IP addresses to avoid any DNS issues. The following is what I have in httpd.conf on the reverse-proxy. <VirtualHost *:*> ProxyPreserveHost On ProxyHTMLLogVerbose On ProxyPass /app XX.XX.XX.XX ProxyPassReverse /app XX.XX.XX.XX ProxyHTMLURLMap 192.168.122.184 /app </VirtualHost> <VirtualHost *:*> ProxyPreserveHost On ProxyHTMLLogVerbose On ProxyPass /backup/app YY.YY.YY.YY ProxyPassReverse /backup/app YY.YY.YY.YY ProxyHTMLURLMap YY.YY.YY.YY /backup/app </VirtualHost> 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? Thanks. |
|||
Recent GIDBlog
New Corolla Altis, 10th Generation - Part I by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hard drive/CPU Diagnoses Issues | binarybug | Computer Hardware Forum | 1 | 22-Jan-2007 19:23 |
| new user - apache root config... | glennn | Apache Web Server Forum | 1 | 09-Mar-2006 09:26 |
| Problem in connecting tomcat via apache proxy | naveed | Apache Web Server Forum | 0 | 15-Dec-2004 14:51 |
| Apache2 config issues | monev | Apache Web Server Forum | 2 | 28-Jun-2004 06:19 |
| Can't view pages from another machine on the Intranet | aevans | Apache Web Server Forum | 9 | 14-May-2004 02:26 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The