Page 1 of 1

SABnzbd behind Apache and on another computer?

Posted: July 13th, 2010, 4:23 pm
by TinCanFury
my main server running apache is on 192.168.1.151
SABnzbd is running on 192.168.1.152:8008/sabnzbd

anyone know how I can properly set it up so apache redirects all requests for /sabnzbd to the sabnzbd server?
thanks!

Re: SABnzbd behind Apache and on another computer?

Posted: July 13th, 2010, 4:36 pm
by TinCanFury
ack, nevermind, got it:

/etc/apache2/sites-available/sabnzbd

Code: Select all

ProxyPass /sabnzbd http://192.168.1.152:8080/sabnzbd
ProxyPassReverse /sabnzbd http://192.168.1.152:8080/sabnzbd
<Location /sabnzbd>
        Options Indexes FollowSymLinks MultiViews
        AuthUserFile /etc/apache2/htpasswd
        AuthName "Authenticate Yourself."
        AuthType Basic
        Require valid-user
        Order allow,deny
        Allow from all
</Location>