Page 1 of 1

Proxy Issues

PostPosted: Mon May 09, 2011 4:29 am
by mccpl4
I am having trouble setting up subsonic behind an apache proxy. Whenever i try going to http://mydomain/ss I get automatically redirected to http://mydomain/index.view (notice the missing ss) and get a 404 error saying the file doesn't exist.

Here is the relevant section from my httpd.conf. The proxy is working for other things so it shouldn't be an apache issue.

<Location /ss/>
order deny,allow
deny from all
allow from all
ProxyPass http://192.168.1.14:4040/
ProxyPassReverse http://192.168.1.14:4040/
</Location>

I have tried setting the ContextPath in subsonic but it doesn't seem to make a difference if I do or not.

Subsonic 4.4 (build 2169) – February 6, 2011

Jetty-6.1.x, java 1.6.0_25, Linux (37.4 MB / 51.5 MB)

Re: Proxy Issues

PostPosted: Sun Jan 22, 2012 9:09 pm
by yougotborked
I know this is an old post, but I am having the same problem. can anyone help?

Re: Proxy Issues

PostPosted: Mon Jan 23, 2012 8:01 pm
by yougotborked
this is the contents of my httpd.conf

Code: Select all
<Location /subsonic>
order deny,allow
deny from all
allow from all
ProxyPass http://10.1.1.10:8075/subsonic
ProxyPassReverse http://10.1.1.10:8075/subsonic
</Location>

<Location /sickbeard>
order deny,allow
deny from all
allow from all
ProxyPass http://10.1.1.10:8077/sickbeard
ProxyPassReverse http://10.1.1.10:8077/sickbeard
</Location>

<Location /couchpotato>
order deny,allow
deny from all
allow from all
ProxyPass http://10.1.1.10:8078
ProxyPassReverse http://10.1.1.10:8078
</Location>

<Location /transmission>
order deny,allow
deny from all
allow from all
ProxyPass http://10.1.1.10:8079/transmission
ProxyPassReverse http://10.1.1.10:8079/transmission
</Location>


All of my other reverse proxys work, but I will try that out.

the thing is, I can access subsonic if I type in
Code: Select all
http://10.1.1.10:8075/subsonic

but as the OP posted when I type in
Code: Select all
http://10.1.1.10/subsonic
I get redirected to
Code: Select all
http://10.1.1.10/index.view


it should be redirecting me to
Code: Select all
http://10.1.1.10/subsonic/index.view(or login or whatever)


I have changed the contents of my /etc/default/subsonic
Code: Select all
SUBSONIC_ARGS="--context-path=/subsonic --max-memory=200 --port=8075"


EDIT: wait, its working now, hm.... I restarted everything a bunch so maybe something go fixed...