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've a webapp deployed on tomcat server A, which is dependent on a couple of wars deployed on a different tomcat server B. I've a proxy web server (apache) which I've configured to redirect requests to servers A or B based on the url pattern.

As a developer for webapp A, I don't want to have additional step to bring up (or maintain) proxy server to appropriately redirect requests to my host(not constant) for development purposes.

Is there a way to use mod_proxy module (and use ProxyPass and ProxyPassReverse directives) in my tomcat itself which is hosting development instance A, so that it gives me the functionality of proxy server (like apache does).

I asked this question in stackoverflow as well.

share|improve this question

The answer is no. The mod_proxy is an Apache module written in native code, Tomcat is pure java http implementation and doesn't have this option.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.