Changing webroot of sabnzbd

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
CalBoy
Newbie
Newbie
Posts: 1
Joined: September 2nd, 2013, 5:57 am

Changing webroot of sabnzbd

Post 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>
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Changing webroot of sabnzbd

Post by shypike »

Our Wiki lists a config file that should work:
http://wiki.sabnzbd.org/howto-apache
Post Reply