Page 1 of 1

Tomcat, Apache & ProxyPass

PostPosted: Thu Aug 23, 2012 5:27 pm
by WARlrus
Hi,

I currently have Subsonic running on a Tomcat instance - so accessible through http://mydomain.org/subsonic. However, I'd like to be able to get at it through http://subsonic.mydomain.org/ (without /subsonic/ as the context path as well). I've tried setting up the following apache VirtualHost

Code: Select all
<VirtualHost *:80>
        ServerName subsonic.mydomain.org

        ProxyPass /subsonic/ http://internalip:8080/subsonic/
        ProxyPassReverse /subsonic/ http://internalip:8080/subsonic/

        ProxyPass / http://internalip:8080/subsonic/
        ProxyPassReverse / http://internalip:8080/subsonic/
</VirtualHost>



Unfortunately this gives me subsonic.mydomain.org/subsonic/

Can anyone point me in the right direction on how I should be configuring this? Do I need to be using some kind of RewriteRule to achieve this?

Cheers