mod_proxy ssl configuration, wrong base url

Need help? Post your questions here.

Moderator: moderators

mod_proxy ssl configuration, wrong base url

Postby toskala » Mon Mar 28, 2011 2:18 pm

Hi there,

my the setup looks like this:

Ubuntu Server with Apache 2.2, mod_proxy, mod_ssl, subsonic.

My /usr/share/subsonic/subsonic.sh looks like this:
Code: Select all
SUBSONIC_HOST=0.0.0.0
SUBSONIC_PORT=4040
SUBSONIC_HTTPS_PORT=4443
SUBSONIC_CONTEXT_PATH=/subsonic


My SSL enabled vhost configuration looks like this:
Code: Select all
    ProxyRequests Off
    ProxyPreserveHost On

    <Proxy *>
         Order deny,allow
         Allow from all
    </Proxy>

    ProxyPass /subsonic http://127.0.0.1:4040/subsonic
    ProxyPassReverse /subsonic http://127.0.0.1:4040/subsonic


What happens now is, that if I browse to
Code: Select all
https://myhost.dyndns.org/subsonic/

I get immediately redirected to
Code: Select all
https://myhost.dyndns.org:4443/subsonic/


What is actually wrong on that? Other applications I know have the ability to set a base URL parameter which takes care of things like that. How can I configure this in Subsonic?

Cheers,
toskala
toskala
 
Posts: 1
Joined: Mon Mar 28, 2011 1:17 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 17 guests