Apache HTTPd proxying to the web-app results in 403

Need help? Post your questions here.

Moderator: moderators

Apache HTTPd proxying to the web-app results in 403

Postby mahender » Sun Feb 01, 2009 5:37 pm

I am trying to provide access to the web interface of subsonic via port 80 using DNS name and internally (in apache config) proxying to subsonic deployed on tomcat on port 8080.

I can access the subsonic directly via tomcat on port 8080 on localhost, but not via the apache proxying.

Is it due to some DWR related configuration?

[update] the 403 was due to my tomcat configuration. However, after correcting that, I still cannot access the webapp or a playing playlist (localhost:8080/stream?player=1) via apache httpd proxying and my public URL, though I can access it using the localhost URL above.
mahender
 
Posts: 4
Joined: Sun Feb 01, 2009 5:22 pm

Postby corentin » Wed Feb 04, 2009 10:07 am

Have you set the environment variable SUBSONIC_CONTEXT_PATH correctly in the subsonic.sh file?

For example, if you want to access Subsonic with an URL like:

Code: Select all
http://mydomain.com/subsonic/


you need to set this variable to "/subsonic" (without a trailing slash).
corentin
 
Posts: 3
Joined: Wed Feb 04, 2009 9:48 am

Postby mahender » Sat Feb 07, 2009 5:45 pm

I am using just the .war, so there is nothing to modify.

Have got this to work, but only in WinAmp (other players - Windows Media Player and VLC stop playing almost almost immediately after beginning) and only using HTTP not HTTPS.
mahender
 
Posts: 4
Joined: Sun Feb 01, 2009 5:22 pm

Postby organon » Fri Feb 13, 2009 6:29 pm

Looks like you want this posting, no?
User avatar
organon
 
Posts: 7
Joined: Sun Feb 08, 2009 10:43 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 8 guests