Page 1 of 1

Virtual Host for SABnzbd

Posted: Sat Jan 23, 2010 8:23 am
by ArisB
I have manually installed sabnzbd using the latest beta, and am trying to create a virtual host for it.

I created an webapp using the HDA web setup which looks like this:

name: sabnzbd
path: /var/hda/web-apps/sabnzbd
url: http://sabnzbd

SABnzbd is installed in /home/sabnzbd/SABnzbd-0.5.0RC3
and is accessible through http://hda.mydomain.com:7777/sabnzbd

so how do i get the address "http://sabnzbd" to redirect to "http://hda.mydomain.com:7777/sabnzbd"?

i have added
ProxyPass / http://localhost:7777/sabnzbd
ProxyPassReverse / http://localhost:7777/sabnzbd
to the 1002-sabnzbd.conf,
which i copied from the transmission.conf file :)

When i visit http://sabnzbd firefox states:

The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

Any help would be appreciated :)

Re: Virtual Host for SABnzbd

Posted: Sat Jan 23, 2010 2:19 pm
by cpg
if you can do all that, you can package apps! :D
are you interested in helping out?

try this:

Code: Select all

ProxyPass / http://hda:7777/sabnzbd/ ProxyPassReverse / http://hda:7777/sabnzbd/
the last / may be important

Re: Virtual Host for SABnzbd

Posted: Sun Jan 24, 2010 3:41 am
by ArisB
Adding the slashes at the end solved the problem, tnx for that.

And yes, i am interested in helping out.
I will try to package this, i'll read the howto on the wiki.

Re: Virtual Host for SABnzbd

Posted: Sun Jan 24, 2010 2:09 pm
by cpg
we already have sab packaged ... it's just that it broke for the fedora 12 release.

we just added you to the app as a contributor!

come by the irc channel to chat about it if you would like to interactively ask questions and/or discuss.