Virtual Host for SABnzbd

ArisB
Posts: 8
Joined: Sun Aug 16, 2009 10:45 am

Virtual Host for SABnzbd

Postby ArisB » Sat Jan 23, 2010 8:23 am

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 :)

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Virtual Host for SABnzbd

Postby cpg » Sat Jan 23, 2010 2:19 pm

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
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

ArisB
Posts: 8
Joined: Sun Aug 16, 2009 10:45 am

Re: Virtual Host for SABnzbd

Postby ArisB » Sun Jan 24, 2010 3:41 am

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.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Virtual Host for SABnzbd

Postby cpg » Sun Jan 24, 2010 2:09 pm

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 61 guests