Page 1 of 1

Subsonic External Access Issues

PostPosted: Sat Sep 18, 2010 7:55 pm
by drifter
I got a Subsonic 4.1 server which works fine on my local network. I manged to setup apache virtual host to access it externally. I can access subsonic but I get the "Get Flash Player" error also the album arts are without any pictures and without any hyperlink.


How can I fix this?

PostPosted: Sun Sep 19, 2010 8:49 pm
by Kirk
I'm curious why you set up an Apache vhost. The typical Subsonic install runs its own web server, and you just have to forward the port in your firewall to gain access to the Subsonic server from externally.

Would you mind explaining a little more about your situation and why you are using an Apache vhost? (Are you running Subsonic standalone in Tomcat or something?)

Cheers,
Kirk

PostPosted: Thu Sep 23, 2010 6:43 pm
by drifter
Thanks kirk.. yes its a standalone installation with tomcat. I got other apps running using apache vhost that's why I opted for the standalone version. It took some effort to get it working with apache and now I can access it but can't play any files...

PostPosted: Fri Sep 24, 2010 3:26 am
by Kirk
drifter wrote:Thanks kirk.. yes its a standalone installation with tomcat. I got other apps running using apache vhost that's why I opted for the standalone version. It took some effort to get it working with apache and now I can access it but can't play any files...


Are you using a normal vhost on Tomcat, or are you doing something with a reverse proxy on a normal Apache? (I've done that before; not with Subsonic but with something else. If that's what you're doing, then you've got to turn on a configuration directive to fix this problem. I think it's ProxyPreserveHost.)

Cheers,
Kirk

PostPosted: Mon Sep 27, 2010 8:03 pm
by drifter
Its with reverse proxy on a normal Apache.

this my entry vhost entry....

Code: Select all
#
<VirtualHost *:80>
    ServerName sonix.mysite.com
    ProxyRequests Off
<Proxy *>
    Order deny,allow
    Allow from all
</Proxy>
    ProxyPass / http://localhost:8180/subsonic/
    ProxyPassReverse / http://localhost:8180/subsonic/
                ProxyPassReverseCookieDomain 127.0.0.1 sonix.mysite.com
                ProxyPassReverseCookiePath / /
</VirtualHost>
#


I try to add ProxyPreserveHost on, but then I am unable to connect to the subsonic server.