How do I point one virtual host to another instance of apache running at another port on the same bo

Posted by sacamano on Server Fault See other posts from Server Fault or by sacamano
Published on 2010-03-26T19:08:19Z Indexed on 2010/03/26 19:13 UTC
Read the original article Hit count: 350

Filed under:
|
|

Hi there.

I've got two apache2 instances running on my box. One came with a bitnami redmine stack which sole purpose is to host Redmine at host:8080/redmine. The other apache instance is running with php and such and is where I specify all the VHosts for my domains.

Now I'd like to point redmine.somedomain.com at www.somedomain.com:8080/redmine so that redmine is accessible through a subdomain and on port 80. Redmine is a Ruby on Rails app and runs with Phusion Passenger so I can't just point the vhost to the htdocs directory of the redmine install.

How is this done? I've tinkered with ProxyPass and ProxyPassReverse but I just can't get it working.

All help is greatly appreciated.

© Server Fault or respective owner

Related posts about apache2

Related posts about configuration