I am trying to serve the requests to my Site through Proxy machine using Load balancer. When i try to access the Site by hitting http://PROXYSERVER.com, the HomePage comes up fine retaining the address bar URL with http://PROXYSERVER.com.
Now, when i try to access internal links for example, http://PROXYSERVER.com/services/ then the address bar URLchanges to the APPSERVER URL http://APPSERVER01.com/services/
NOTE: The Page comes up fine but the address bar URL is getting changed.
Expected behaviour is when user requests http://PROXYSERVER.com/services/ then the address bar should retain the proxy URL while serving the request
Here is my code for load balancing,
ProxyRequests off
ServerName PROXYSERVER.com
# WebHead1
BalancerMember http://APPSERVER01:80/ route=node1
# WebHead2
BalancerMember http://APPSERVER02:80/ route=node2
Order Deny,Allow
Deny from none
Allow from all
ProxySet lbmethod=byrequests
#ProxySet lbmethod=bybusyness
ProxySet stickysession=BALANCEID
SetHandler balancer-manager
Order deny,allow
Allow from all
# Point of Balance
ProxyPass /balancer-manager !
ProxyPass / balancer://mycluster/
Any suggestions will be appreciated.