Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have installed in my linux server an Apache HTTP server (the main) and a Tomcat7 server. I want that all requests that are made for projects hosted in Tomcat to be redirected by the Apache HTTP respectively. I didn't do that until now, so have anyone some thoughts and suggestions on this? Thanks.

P.S. I read something about mod_jk, mod_proxy, mod_jserv. What is the best choice for my scenario?

Thanks

share|improve this question

1 Answer 1

up vote 1 down vote accepted

To use mod_proxy, put this in your <VirtualHost>:

ProxyPass /project-one http://127.0.0.1:8080/project-one
ProxyPassReverse /project-one http://127.0.0.1:8080/project-one
share|improve this answer

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.