Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

Use mod_rewrite?

http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

eg

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

Your Answer

 
discard

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.