Subsonic External Access Issues

Need help? Post your questions here.

Moderator: moderators

Subsonic External Access Issues

Postby drifter » Sat Sep 18, 2010 7:55 pm

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?
drifter
 
Posts: 17
Joined: Tue Apr 13, 2010 6:56 pm

Postby Kirk » Sun Sep 19, 2010 8:49 pm

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
Image
User avatar
Kirk
 
Posts: 310
Joined: Tue Jun 08, 2010 5:45 pm
Location: Illinois, USA

Postby drifter » Thu Sep 23, 2010 6:43 pm

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...
drifter
 
Posts: 17
Joined: Tue Apr 13, 2010 6:56 pm

Postby Kirk » Fri Sep 24, 2010 3:26 am

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
Image
User avatar
Kirk
 
Posts: 310
Joined: Tue Jun 08, 2010 5:45 pm
Location: Illinois, USA

Postby drifter » Mon Sep 27, 2010 8:03 pm

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.
drifter
 
Posts: 17
Joined: Tue Apr 13, 2010 6:56 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 50 guests