httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amol Puglia <>
Subject [users@httpd] Apacge url is changing to application server url
Date Mon, 20 Sep 2010 05:53:35 GMT
Hello Team,

I have configured load balancer of 3 instances of tomcat with apache using mod_proxy_ajp and

Whenever i access apache url, the request is going to tomcat but it is also showing the 

application server url.

I am using following version of softwares.

Apache version :- 2.2.14

Tomcat Version :- 6.0.20.

Suppose apache web server url is following :-


is changing to




whenver i try to access the application using apache web server url.

I dont want my apache web server url should change to tomcat application server url.

kindly help me to resolve the issues.

Below is the configuration for the mod_proxy_loadbalancer and ajp.

LoadModule ssl_module modules/
LoadModule proxy_module modules/
LoadModule proxy_connect_module modules/
LoadModule proxy_ftp_module modules/
LoadModule proxy_http_module modules/
LoadModule proxy_scgi_module modules/
LoadModule proxy_ajp_module modules/
LoadModule proxy_balancer_module modules/

ProxyRequests Off

ProxyPass /eMatrix balancer://cluster

ProxyPassReverse /eMatrix ajp://server_name:8009/eMatrix

ProxyPassReverse /eMatrix ajp://server_name:8010/eMatrix

ProxyPassReverse /eMatrix ajp://server_name:8011/eMatrix

<Proxy balancer://cluster>
BalancerMember ajp://server_name:8009/eMatrix route=marsstage_rmiserver_1 retry=60
BalancerMember ajp://server_name:8010/eMatrix route=marsstage_rmiserver_2 retry=60
BalancerMember ajp://server_name:8011/eMatrix route=marsstage_rmiserver_3 retry=60

View raw message