Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 server A (Jboss) which needs to get to server B (Tomcat), but I was told to proxy it through Apache HTTPD. I don't think that I want to truly set it up as a proxy server and set the proxy settings on JBoss, what I really need to do is have any request going to a certain port and/or URL pattern go be forwarded through to the Tomcat server. How would I best do this?

share|improve this question

Use mod_rewrite?


 RewriteEngine  on
 RewriteRule    ^/(.*)$   http://SERVERB/$1
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .