-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I’m trying to server my application on a context path that is different than the one it has been configured. But it doesn’t work. Can anybody help here?
<virtualhost *=""> ServerName localhost ProxyRequests Off ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /context1 http://servername:8088/context1_1/
ProxyPassReverse /context1 http://servername:8088/context1_1/
ProxyPass /context2 http://servername:8880/ context2_1
ProxyPassReverse /context2 http://servername:8880/context2_1
<Location />
Order allow,deny
Allow from all
</Location>
</virtualhost>
JBOSS version: 7.1.1
Apache version: 2.4.9
You are asking wrong question in wrong Fora...try at jboss fora?
Hi You can not deploy 2 web application in the same domain, even use different port, browser store session cookie for each different domain, when you access domain:8080 then access domain:8081, session cookie of domain:8080 will be replace another new cookie value for domain:8081, then you cannot find the session of domain:8080 with new cookie value, there is the same issue when you deploy 2 JSP application in the same domain.
Asked: 2014-05-12 14:53:38 +0800
Seen: 22 times
Last updated: May 14 '14