I have a server that is running Apache and Tomcat.
Apache functions as:
- reverse proxy for Tomcat
- serve static files
- serve dynamic content
Apache is serving static files from:
Tomcat is running on port 8080
I have it working now as following:
http://www.domainname.com/app >>> proxypass/proxyreversepass >>> http://localhost:8080/app/ http://www.domainname.com/upload >>> /var/www/upload
What I want to do is: www.domainname.com redirect to Tomcat while still have www.domainname.com/upload and hwww.domainname.com/images served by Apache.
What is the best way to do this? Have a redirect rule? Or work with entries like "ProxyPass /upload !"?