I'm trying to configure my apache 2.2 as a proxy to some applications on a server.
tomcat-jira : Installed with Jira´s installer; tomcat-dev : Just a container for another applications.
First, my httpd.conf is like this:
ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /jira http://dev.debian.local:8080/jira ProxyPassReverse /jira http://dev.debian.local:8080/jira ProxyPass /tomcat http://dev.debian.local:8088 ProxyPassReverse /tomcat http://dev.debian.local:8088 <Location /jira> Order allow,deny Allow from all </Location> <Location /tomcat> Order allow,deny Allow from all </Location>
On tomcat-jira it has a parameter to configure the application that is:
Its because is just one application, so it redirects properly. How can I do something like this on tomcat instance? Is there a context path for the tomcat root?