My apache redirects to my tomcat
<VirtualHost www.example.com:80>
...
ProxyPass http://localhost:8080/
ProxyPassReverse http://localhost:8080/
...
</VirtualHost>
But my tomcat has more webapps, and I would have another apache http virtualhost pointing to this tomcat.
I need this behavior:
www.example.com/tomcatapp1 --> tomcat http://localhost:8080/myexamples/tomcatapp1
www.example.com/tomcatapp2 --> tomcat http://localhost:8080/myexamples/tomcatapp2
www.foo.com --> tomcat http://localhost:8080/foo
myexamples can be a folder? How I configure tomcat to do that? What I need to use?
Many thanks!