We have the same application in different servers and different server-groups. We need this because the application deployed in each server-group has different configurations.
Apache is configured this way (in a virtualhost):
ProxyPass /app/ balancer://mycluster/app/ stickysession=JSESSIONID|jsessionid nofailover=On
The problem is because the two applications are deployed in the same context, and Apache thinks all the contexts are the same app, and they aren't. Is there any way to tell Apache to route the request to a certain server-group? Or any workaround?
Regards and thanks in advance.
Using JBoss AS 7.1.0
Centos 6.0 x64
Sun/Oracle Java jdk1.7.0_15
Apache 2.2.15 (httpd-2.2.15-5.el6.centos.x86_64)
you need something to differentiate the webapps, probably the Alias then use UseAlias.