Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:

  • /var/www/upload
  • /var/www/images

Tomcat is running on port 8080

I have it working now as following: >>> proxypass/proxyreversepass >>> http://localhost:8080/app/ >>> /var/www/upload

What I want to do is: redirect to Tomcat while still have and served by Apache.

What is the best way to do this? Have a redirect rule? Or work with entries like "ProxyPass /upload !"?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.