wiki edit: sabnzbd & apache2

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Mr5o1
Newbie
Newbie
Posts: 5
Joined: February 27th, 2011, 10:32 pm

wiki edit: sabnzbd & apache2

Post by Mr5o1 »

So... not really a bug, but I thought I'd bring this to someone's attention in case it saves someone some time.

in this page: http://wiki.sabnzbd.org/howto-apache

I couldn't get the proxy to work until I added trailing slashes, so this:

Code: Select all

ProxyPass http://localhost:8080/sabnzbd
ProxyPassReverse http://localhost:8080/sabnzbd
becomes this:

Code: Select all

ProxyPass http://localhost:8080/sabnzbd/
ProxyPassReverse http://localhost:8080/sabnzbd/
without the trailing slashes I get a redirect loop.

Also.. and I guess this is maybe a personal thing, but it might be better to direct users to using seperate config files rather than just stashing everything in httpd.conf, but that's probably just me.

Thanks.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: wiki edit: sabnzbd & apache2

Post by shypike »

Mr5o1 wrote:Also.. and I guess this is maybe a personal thing, but it might be better to direct users to using seperate config files rather than just stashing everything in httpd.conf, but that's probably just me.
What the Wiki shows is just an example of how to get it working. It's not an advice on how to setup an Apache server properly.
I'm surprised that you need the trailing slashes, I've been using the original example for years.
Any thoughts on why it's needed?
Mr5o1
Newbie
Newbie
Posts: 5
Joined: February 27th, 2011, 10:32 pm

Re: wiki edit: sabnzbd & apache2

Post by Mr5o1 »

Actually on second thoughts maybe it's a special case, and doesn't really require the edit.

I'm using a vhost named sab. The url on my LAN is http://sab rather than http://server/sab

So yeah, now I've had time to think about it, I think it's because my proxy lines were using the root path "/". In any case, it was definitely the trailing slash that resolved the problem.
Post Reply