mod_proxy ssl configuration, wrong base url
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:
My SSL enabled vhost configuration looks like this:
What happens now is, that if I browse to
I get immediately redirected to
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
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