im running tomcat on my linux server and i want use a reverse proxy for this. After reading the manual in apacha for mod_proxy , i didnt really understand the /path in the proxypass .
i make a small example. the directory for my tomcat is /tomcat/webapp. Is then this following configuration right ?:
<VirtualHost *:80> ServerName example.com ServerAlias www.example.com ProxyRequests Off ProxyPass /tomcat/webapp http://127.0.0.1:8080 ProxyPassReverse /tomcat/webapp http://127.0.0.1:8080 </VirtualHost> i would be thankful, im somebody with experience can help me out.
ROOTweb application will appear under the URLhttp://example.com/tomcat/webapp/.