Bad advice on the wiki

Feel free to talk about anything and everything in this board.
Post Reply
RiskyShift
Newbie
Newbie
Posts: 5
Joined: August 15th, 2008, 5:51 am

Bad advice on the wiki

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Bad advice on the wiki

Post by shypike »

Thank you for pointing this out.
I'll check and change the page.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Bad advice on the wiki

Post 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>
Last edited by shypike on September 12th, 2008, 6:55 am, edited 1 time in total.
RiskyShift
Newbie
Newbie
Posts: 5
Joined: August 15th, 2008, 5:51 am

Re: Bad advice on the wiki

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Bad advice on the wiki

Post 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.
Post Reply