tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AD <straightfl...@gmail.com>
Subject mod_proxy_balancer
Date Tue, 14 Oct 2008 02:17:49 GMT
hello,
 If i have a tomcat app deployed at http://localhost:8080/myapp1/  and
http://localhost:8080/myapp2/ and i want 2 virtualhosts in apache to map "/"
to each one of these apps, is this possible?

Trying something like

<Proxy balancer://app1/>
    BalancerMember ajp://localhost:8009/app1/
    BalancerMember ajp://localhost:8009/app1/
</Proxy>

<Proxy balancer://tomcat_1_1/>
    BalancerMember ajp://localhost:8009/app2/
    BalancerMember ajp://localhost:8009/app2/
</Proxy>

Then in each virtualhost

HTTP Virtualhost 1:
ProxyPass / balancer://app1
ProxyPassReverse / balancer://app1

HTTP Virtualhost 2:
ProxyPass / balancer://app1
ProxyPassReverse / balancer://app1

but getting path errors all over.

 Thx
 Adam

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message