Integrating Subsonic into existing Apache Web Space

Tutorials, tips and tricks.

Moderator: moderators

Re: Integrating Subsonic into existing Apache Web Space

Postby najuk26 » Wed Aug 17, 2011 6:34 am

Hello sir,

I want to run this software as web application . Is that possible , if possible please tell me the procedure from start. I have downloaded subsonic and uploaded in my server now what to do.

Thanx
najuk26
 
Posts: 2
Joined: Wed Aug 17, 2011 5:54 am

Re: Integrating Subsonic into existing Apache Web Space

Postby cnschulz » Sat Feb 04, 2012 9:34 am

Hi,

Ive followed the directions here but have a alight problem...

Ive added to apache config (proxy.conf) like this:
ProxyPass /music http://localhost:4040/music
ProxyPassReverse /music http://localhost:4040/musi

and set the context thus:
SUBSONIC_CONTEXT_PATH=/music

Problem: If i try to access http://my.site/music it returns a page not found and redirects to http://my.site/index.view. HOWEVER if i access http://my.site/music/ (WITH A SLASH) it works fine.

Any tips on how I can make this work with the slash and without?

:)
cnschulz
 
Posts: 11
Joined: Sat Feb 04, 2012 9:09 am

Re: Integrating Subsonic into existing Apache Web Space

Postby MyJimmyWeb » Sun Feb 12, 2012 11:08 pm

Got this working previously, however since changing my IP address whenever I go to mydomain.com/music I am redirected to localhost:4040 which can't be loaded as I am not on the machine running subsonic...

My /etc/apache2/httpd.conf

ProxyPass /music http://localhost:4040/music
ProxyPassReverse /music http://localhost:4040/music

I am able to access SS via the localip:4040
MyJimmyWeb
 
Posts: 6
Joined: Wed Oct 05, 2011 2:09 am

Re: Integrating Subsonic into existing Apache Web Space

Postby spookybathtub » Wed May 02, 2012 8:50 am

You can change the httpd.conf to read like this:
Code: Select all
ProxyPass               /subsonic       https://mydomain.com:4040/subsonic
ProxyPassReverse        /subsonic       https://mydomain.com:4040/subsonic

Then you will not have any problems with localhost. This is working great for me in a web browser, but not in iSub app. There, I still have to enter the URL as https://mydomain.com:4040/subsonic or else it says "Error code -1001: The request timed out." I'm so new to apache, can anyone tell if this is a problem with iSub or with my code?
spookybathtub
 
Posts: 110
Joined: Thu Oct 07, 2010 7:13 am

Previous

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests