Set hostname/port (http gateway)

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Set hostname/port (http gateway)

Postby rlandor » Tue Sep 25, 2007 12:43 pm

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.
rlandor
 
Posts: 3
Joined: Tue Sep 25, 2007 12:37 pm

Postby sindre_mehus » Tue Sep 25, 2007 12:49 pm

Hi Richard,

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

Thanks!
Sindre
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby rlandor » Tue Sep 25, 2007 1:13 pm

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.
rlandor
 
Posts: 3
Joined: Tue Sep 25, 2007 12:37 pm

Postby John Everett » Sun Oct 10, 2010 11:13 pm

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.
John Everett
 
Posts: 5
Joined: Tue Jun 15, 2010 7:28 pm

Re: Set hostname/port (http gateway)

Postby eXisTa » Fri Dec 09, 2011 12:06 pm

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.
eXisTa
 
Posts: 1
Joined: Fri Dec 09, 2011 12:03 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 3 guests