Apache2, Tomcat6, and proxy redirects

Posted by Randal Hale on Server Fault See other posts from Server Fault or by Randal Hale
Published on 2012-04-08T15:32:35Z Indexed on 2012/04/08 17:34 UTC
Read the original article Hit count: 458

Filed under:
|
|

So here is my question - go easy and slow. I'm a GIS Consultant and general hack with linux. I inherited this volunteer job essentially because I knew more than the rest of the team - or the rest of the team isn't as stubborn as I am... With that said a number of people have been mucking around in the server before I got involved so I've been cleaning up a lot of things. The domain names have been changed to protect the innocent.

I have a server running Apache2 (port 80) and tomcat6 (8080) running on ubuntu server 10.4. There is a virtual host on Apache2 called "Runner" (the domain is runner.org). I have mod_proxy loaded.

I am trying to redirect everyone that visits runner.org to http://some.ip.address:8080/openrunner-webapp/

So far I've gotten runner.org assigned to the apache2 server. Someone set up a redirect in the httpd.conf file but I believe it needs to go into the virtualhost.

I tried setting the redirect in the virtualhost as: *ProxyPass / http://localhost:8080/openrunner-webapp

All that does is show me the root of the Apache webserver.

Anyway I'm stuck

© Server Fault or respective owner

Related posts about apache2

Related posts about ubuntu-10.04