Sabnzbd behind apache
by rullzer on Sep.04, 2009, under Annoying things, Gentoo, Programming things
So after upgrading my sabnzbd installation to version 0.4.11, which I by the way the way should create a better ebuild for and do some dependency cleaning but that is a different story.
Like I was saying after upgrading to version 0.4.11 I decided I wanted to close port 8080 (the one sabnzbd is using) to the outside word. Now I know apache has some nice proxy functions so it should be easy.
Make sure apache is compiled with the following modules: apache2_modules_proxy apache2_modules_proxy_http apache2_modules_proxy_balancer
That was the hard part. Now just add a vhost:
ServerName yourserver.com
order deny,allow
deny from all
allow from all
ProxyPass http://localhost:8080/sabnzbd/
ProxyPassReverse http://localhost:8080/sabnzbd/a
ErrorLog /var/log/apache2/error.sabnzb.log
LogLevel warn
CustomLog /var/log/apache2/access.sabnzb.log combined
This assumes that you have sabnzbd listening on localhost:8080. Now you probably do not want the whole world watching your downloads (or deleting them or whatever). So we just add some basic apache authentication, use htpasswd2 to create a file with authorized users and add the following lines into the location block.
AuthName "Login Required"
AuthType Basic
AuthUserFile <
require valid-user
That is all.
Happy downloading!







January 28th, 2011 on 11:22 pm
**. I am really thankful to this topic because it really gives up to date information :*’
October 8th, 2011 on 2:00 am
Heya i am for the first time here. I came across this board and I in finding It truly useful & it helped me out a lot. I hope to offer one thing back and help others such as you aided me.
October 9th, 2011 on 1:19 pm
I definitely wanted to post a quick note to be able to appreciate you for all the great tricks you are giving out at this website. My prolonged internet lookup has at the end been rewarded with beneficial points to go over with my best friends. I would assume that we site visitors are truly blessed to live in a perfect network with very many outstanding professionals with interesting opinions. I feel somewhat fortunate to have discovered your entire webpage and look forward to tons of more enjoyable minutes reading here. Thanks again for all the details.
October 17th, 2011 on 11:17 pm
There is obviously a bunch to know about this. I think you made some good points in features also.
October 27th, 2011 on 6:57 pm
Thanks for the sensible critique. Me and my neighbor were just preparing to do some research on this. We got a grab a book from our local library but I think I learned more clear from this post. I’m very glad to see such fantastic information being shared freely out there.
October 30th, 2011 on 5:05 pm
Great – I should definitely pronounce, impressed with your site. I had no trouble navigating through all the tabs as well as related info ended up being truly simple to do to access. I recently found what I hoped for before you know it at all. Reasonably unusual. Is likely to appreciate it for those who add forums or something, web site theme . a tones way for your client to communicate. Nice task.
November 12th, 2011 on 9:09 pm
Once I originally commented I clicked the -Notify me when new feedback are added- checkbox and now every time a comment is added I get 4 emails with the same comment. Is there any manner you’ll be able to take away me from that service? Thanks!
November 13th, 2011 on 2:05 pm
When I initially commented I clicked the -Notify me when new feedback are added- checkbox and now every time a comment is added I get four emails with the same comment. Is there any method you’ll be able to remove me from that service? Thanks!
November 29th, 2011 on 2:11 pm
I am glad to be a visitor of this thoroughgoing website, thanks for this rare info!
November 29th, 2011 on 3:54 pm
I will right away clutch your rss as I can not find your email subscription hyperlink or e-newsletter service. Do you’ve any? Please permit me recognize in order that I may subscribe. Thanks.
November 30th, 2011 on 12:10 pm
I needed to put you a bit of note to say thanks a lot the moment again about the breathtaking secrets you’ve shared in this case. It was certainly pretty open-handed of people like you to make unhampered what exactly a number of people could possibly have offered for sale as an e-book to earn some dough for themselves, specifically seeing that you could have tried it in case you considered necessary. Those tips also acted to be a great way to be sure that most people have the same interest just like my very own to realize very much more around this problem. I know there are many more pleasurable situations in the future for individuals that browse through your blog.
December 9th, 2011 on 3:02 am
You really make it appear really easy together with your presentation however I to find this topic to be really one thing which I feel I’d by no means understand. It kind of feels too complicated and extremely broad for me. I’m taking a look forward on your next submit, I’ll attempt to get the dangle of it!
December 19th, 2011 on 1:07 pm
Have eBay suspend your account? I got suspended for no reason! I lost all my income, my business had been online based. I had to find a solution. At the conclusion I am back for real.
December 21st, 2011 on 2:16 pm
Good website! I really love how it is easy on my eyes and the data are well written. I’m wondering how I might be notified when a new post has been made. I’ve subscribed to your RSS which must do the trick! Have a great day!
January 14th, 2012 on 9:30 pm
Great – I should definitely pronounce, impressed with your website. I had no trouble navigating through all the tabs and related information ended up being truly simple to do to access. I recently found what I hoped for before you know it at all. Reasonably unusual. Is likely to appreciate it for those who add forums or something, site theme . a tones way for your client to communicate. Nice task..
January 29th, 2012 on 1:09 am
Because i site owner I do think the topic content the following is excellent , great attempts.
January 30th, 2012 on 7:07 pm
Great publish nonetheless I had been curious about in case you could publish a litte read more about this kind of matter? I’d be quite thankful if you could possibly detailed a bit further. Thanks!
February 4th, 2012 on 4:01 am
Cool Page , guys! Great Information aswell. Right into my social bookmarks