Let me first say that I've been playing with Subsonic for about 3 days now and I really like it. Installation and configuration was a breeze, and the users are very happy (it feels simple (it's not) and efficient).
But I have one problem which I can't seem to resolve:
I've configured Apache to act as a proxy for Subsonic.
Relevant part of httpd.conf and subsonic.sh:
httpd.conf
- Code: Select all
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /subsonic http://localhost:7070/subsonic
ProxyPassReverse /subsonic http://localhost:7070/subsonic
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#
ProxyVia On
subsonic.sh:
- Code: Select all
SUBSONIC_CONTEXT_PATH=/subsonic
When accessing Subsonic via local address (http://server:7070/subsonic) everything is working like it's supposed to. The configured players (one via flash and one external with playlist) work perfectly. However when I access Subsonic through the proxified link (http://server/subsonic) the flashplayer (embedded) works as expected, but the external one doesn't. The playlist.m3u file is never downloaded, there is no response from the page at all (except the button clicked animation of the play button off course), all the other functions are working correctly. The playlist is correctly generated and is displayed at the bottom of the page. It doesn't matter what I try to play; something that needs/doesn't need transcoding.
Seems the proxy is messing with the scripts on the page, but I can't seem to figure out why or how.
Any ideas?
Software:
OS: ClearOS 5.1 (CentOS 5)
Apache 2.2.3
