Page 1 of 1

SABnzbd reverse proxy missing template

Posted: January 8th, 2013, 12:24 pm
by bbaraniec
Hello,

I'm running SAB behind proxy. I lost configuration and trying to restore I came into nasty error and I'm puzzled.

Apache:
<Location /sabnzbd> please note no "/" at the end since browser don't add it automaticaly and I keep forgeting about it
ProxyPass http://localhost:2708
ProxyPassReverse http://localhost:2708
</Location>

The issue:
going to my.domain.com/sabnzbd give me SAB without template
going to my.domain.com/sabnzbd/ (please notice "/"), gives me template

I have the same configuration for couchpotato and sickbeard and in both option I don't have to add "/" at the end of address (my.domain.com/sickbeard & my.domain.com/couchpotato) and proxypass in both cases is ip:port no "/" at the end.
Is there something like webroot directory or something that I should set?

Re: SABnzbd reverse proxy missing template

Posted: January 8th, 2013, 1:19 pm
by shypike
This is what I have in my Apache2 setup.

Code: Select all

<Location /sabnzbd>
order deny,allow
deny from all
allow from all
ProxyPass http://localhost:8085/sabnzbd
ProxyPassReverse http://localhost:8085/sabnzbd
</Location>
I have no problem when I omit the trailing slash.
Works fine in IE, Firefox and Chrome.

Re: SABnzbd reverse proxy missing template

Posted: January 8th, 2013, 1:34 pm
by bbaraniec
With that configuration I'm getting redirected to http://localhost:2708/sabnzbd/

Re: SABnzbd reverse proxy missing template

Posted: January 8th, 2013, 2:04 pm
by shypike
Works for me though.
Unfortunately I know very little about Apache and proxy-ing :(

Re: SABnzbd reverse proxy missing template

Posted: January 8th, 2013, 3:52 pm
by bbaraniec
Additional question more Mac related but I think my best option is to get answer here. I can't access my local services via apache proxy on MacMini OS X 10.8.2.
Tried chrome and safari, cache cleared, network checked 1000 times. I'm getting simple This page is not available.
Even simple 443 WAN->Nas redirect is not working. Any ideas?

Re: SABnzbd reverse proxy missing template

Posted: January 8th, 2013, 5:39 pm
by bbaraniec
Gonna answer my self it's jumbo frames. Setting back to 1500 MTU tada!
Sad story from uncle Google
Apple does not support jumbo frames on the i3, i5, and i7 iMacs. These models are incapable of handling an MTU size over 1500 because of the choice of Broadcom chip Apple is using.

Re: SABnzbd reverse proxy missing template

Posted: January 9th, 2013, 4:01 am
by shypike
bbaraniec wrote:
Apple does not support jumbo frames on the i3, i5, and i7 iMacs. These models are incapable of handling an MTU size over 1500 because of the choice of Broadcom chip Apple is using.
Go figure: multi-thousand dollar computer uses a $0.50 chip instead of a $1 one.
Superior technology from Apple?

Re: SABnzbd reverse proxy missing template

Posted: January 9th, 2013, 4:49 am
by bbaraniec
Yeah that's terrible. I'm IT guy and do consider my self not iDiot. I did choose MacMini because of the small factor with pretty nice performance for certain tasks and I was eager to see what so special about Mac OS X.
The operating system is idiot proof but at the same time daily things you can do in Windows with a mouse click, or in linux with simple commands requires you to bend over 20 times and jump on one leg.

Re: SABnzbd reverse proxy missing template

Posted: January 9th, 2013, 12:33 pm
by bbaraniec
shypike I made another attempt and today it's working. Go figure. Thanks for help anyway. This time I made backup.

Re: SABnzbd reverse proxy missing template

Posted: January 9th, 2013, 12:52 pm
by shypike
Is that still with the standard MTU size?

Re: SABnzbd reverse proxy missing template

Posted: January 9th, 2013, 3:29 pm
by bbaraniec
I mean reverse proxy. No "/" at end and it's working with template.
The Mac thingy was totally separate subject but it's working too, but only with 1500 MTU.