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
February 29th, 2012 on 1:01 pm
Accomplishing once work outs on the subject of day-to-day feet is definitely quite sensible together with promises gigantic treatment solution contained in the split second plus coming.
March 1st, 2012 on 8:21 pm
Superb website! I really really like how it’s easy on my face and also the details are very well written. I will be asking yourself how I may be informed every time a brand new post has been manufactured. We have subscribed to your rss which usually ought to do the trick! Possess a great evening!
March 19th, 2012 on 11:24 pm
I’ve been absent for a while, but now I remember why I used to love this web site. Thank you, I’ll try and check back more often. How frequently you update your site?
March 20th, 2012 on 2:53 am
Howdy, i read your blog from time to time and i own a similar one and i was just curious if you get a lot of spam feedback? If so how do you protect against it, any plugin or anything you can advise? I get so much lately it’s driving me crazy so any support is very much appreciated.
March 28th, 2012 on 5:46 pm
Superb stuff from you, man. Ive study your things before and youre just as well wonderful. I cherish what youve obtained right here, love what youre stating and the way you say it. You make it entertaining so you still manage to hold it intelligent. I cant wait to examine a bit of further from you. This really is realistically an ideal weblog.
April 12th, 2012 on 8:44 pm
My developer is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he’s tryiong none the less. I’ve been using WordPress on various websites for about a year and am anxious about switching to another platform. I have heard good things about blogengine.net. Is there a way I can import all my wordpress posts into it? Any help would be greatly appreciated!
April 18th, 2012 on 8:15 am
http://www.procata.com/blog/archives/2005/03/31/the-usability-of-input-filtering/
April 21st, 2012 on 4:53 pm
shrimp
April 25th, 2012 on 1:33 am
As a web site owner I believe the subject matter here is really interesting. Thank you for your efforts. You should keep this up forever! Good Luck..
April 28th, 2012 on 6:29 pm
Nice post!
April 28th, 2012 on 7:14 pm
Nice post!
May 3rd, 2012 on 5:07 pm
One of the best phones I’ve used. I’ve tried other smartphones and this one is very good.
May 3rd, 2012 on 6:45 pm
Hello. Very nice website!! Guy .. Beautiful .. Superb .. I will bookmark your site and take the feeds also…I am satisfied to locate a lot of helpful information here in the post. Thanks for sharing..