Page 1 of 1

Bad advice on the wiki

Posted: August 15th, 2008, 5:55 am
by RiskyShift
Hi,
The instructions on http://sabnzbd.wikidot.com/howto-apache give terrible advice which will result in running an open proxy if followed. There is absolutely no reason to have ProxyRequests On for the described purpose and in fact most of the instructions there are extraneous, all that's really need is two lines like:

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

Re: Bad advice on the wiki

Posted: August 15th, 2008, 9:47 am
by shypike
Thank you for pointing this out.
I'll check and change the page.

Re: Bad advice on the wiki

Posted: August 15th, 2008, 11:06 am
by shypike
Just the two lines doesn't look enough.

This is what works for me:

Code: Select all

<Location /sabnzbd>
order deny,allow
deny from all
allow from all
ProxyPass http://localhost:8080/sabnzbd
ProxyPassReverse http://localhost:8080/sabnzbd
</Location>

Re: Bad advice on the wiki

Posted: August 15th, 2008, 12:01 pm
by RiskyShift
Just those two lines work for me on my server, you might need extra lines depending on your existing setup, the main thing is not to have ProxyRequests set to on.

Re: Bad advice on the wiki

Posted: August 15th, 2008, 1:45 pm
by shypike
I'll change the Wiki to reflect my latest post.

The unwanted lines come from my own setup, where I indeed have
an open proxy, that's only available within my private network.