GIDForums

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 19-Mar-2008, 23:51
cdouser cdouser is offline
New Member
 
Join Date: Mar 2008
Posts: 1
cdouser is on a distinguished road

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 GIDBlogNew Corolla Altis, 10th Generation - Part I by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 13:10.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.