Page 1 of 1

Changing webroot of sabnzbd

Posted: September 2nd, 2013, 6:04 am
by CalBoy
Hi. I'm trying to setup sabnzbd to sit behind apache so that I can have all of my other programs under one domain without ports.

The only issue is when I set it all up via the config that is below none of the skins or http links work as they all point at example.com/static or exmaple.com/config rather then /sabnzbd/config etc. Have I set my config up incorrectly or is there a way to change the webroot in the sabnzbd settings?

Any help is greatly appreciated. Cheers!

Code: Select all

<Location /sabnzbd>
           Order deny,allow
           Deny from all
           SetEnvIf Remote_Addr 192.168.0.2   considered-secure
           SetEnvIf Request_URI "^/api/"       considered-secure
           Allow from env=considered-secure

           Satisfy any

           ProxyPass http://127.0.0.1:8080/
           ProxyPassReverse http://127.0.0.1:8080/
        </Location>

Re: Changing webroot of sabnzbd

Posted: September 2nd, 2013, 12:32 pm
by shypike
Our Wiki lists a config file that should work:
http://wiki.sabnzbd.org/howto-apache