1828629 Members
7112 Online
109983 Solutions
New Discussion

reverse proxy in apache

 
PVR
Valued Contributor

reverse proxy in apache

I have a linux server where tomcat server running on port 8080
Apache webserver is running on port 80. I need a reverse proxy to be configured on apache so that websites configured on tomcat can be served out of apache.

thanks in advance
Don't give up. Try till success...
3 REPLIES 3
Alexander Chuzhoy
Honored Contributor

Re: reverse proxy in apache

you'll find the configuration example + explanation here:
http://www.sans.org/rr/papers/index.php?id=302
Karthik S S
Honored Contributor

Re: reverse proxy in apache

Sample configuration,

http://www.hp.com/products1/unix/webservers/apache/faqs/#setup13

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Mark Travis
Frequent Advisor

Re: reverse proxy in apache

Also make sure that tomcat is proxy-aware as it spits out its redirecting "" type things. If you use struts then that will probably mess you up.

If you don't want to mess with that (which is probably what you don't want) then you can do other things.

One is portmapping 80 to 8080 with a network device that sits between the web server and the outside world.

Another option is gluing tomcat to apache httpd using the coyote http connector.

http://jakarta.apache.org is where all of this stuff is very well documented.