Page 1 of 1

Set hostname/port (http gateway)

PostPosted: Tue Sep 25, 2007 12:43 pm
by rlandor
Hi,

I run subsonic behind a zeus webserver which redirects requests (like mod_proxy from apache).
Now for subsonic all request seems to come from localhost. Thus when a m3u file is generated it consists of a url pointing to http://localhost:8080/subsonic/stream?p ... uffix=.mp3.

Now i'd like to have it pointed to
http://myhostname.com/subsonic/stream?p ... uffix=.mp3.

Is it possible to create a config option to specify the m3u url's?

I have the same problem with the now playing/lyrics links.

Cheers (and thanks a lot for this great app),

Richard.

PostPosted: Tue Sep 25, 2007 12:49 pm
by sindre_mehus
Hi Richard,

I already have that on my todo list, but I'll bump it up for you.

Thanks!
Sindre

PostPosted: Tue Sep 25, 2007 1:13 pm
by rlandor
Hey Sindre,

WOW, this is the fastest support response I've ever experienced! But thanks a lot! I cannot wait to stream the music to my working place muwhahaha (*evil grin*).

Cheers,

Richard.

PostPosted: Sun Oct 10, 2010 11:13 pm
by John Everett
sindre_mehus wrote:... on my todo list, but I'll bump it up for you.


Did this ever get implemented? I have Apache redirecting to Subsonic thusly:

<VirtualHost *:80>
#ProxyPreserveHost On
ProxyPass / http://localhost:4444/
ProxyPassReverse / http://localhost:4444/
ServerName subsonic.mydomain.com
</VirtualHost>

and the m3u's from the wap site are pointing to localhost:4444, rather than subsonic.mydomain.com. Localhost:4444, naturally, doesn't work.

Alternatively, editing the m3u and replacing localhost:4444 with subsonic.mydomain.com works fine. Similarly, going to server.mydomain.com:4444 directly and downloading an m3u also works fine.

Re: Set hostname/port (http gateway)

PostPosted: Fri Dec 09, 2011 12:06 pm
by eXisTa
I am using SubSonic with reverse proxy and am getting m3u files wich contains the url with a port number 4040.
Can this be changed/modded? I'm in a real pickle here since I'm using FLAC-files and don't want to transcode.