SABnzbd reverse proxy missing template

Feel free to talk about anything and everything in this board.
Post Reply
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

SABnzbd reverse proxy missing template

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

Re: SABnzbd reverse proxy missing template

Post 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.
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: SABnzbd reverse proxy missing template

Post by bbaraniec »

With that configuration I'm getting redirected to http://localhost:2708/sabnzbd/
-
Kind regards
Bartek
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd reverse proxy missing template

Post by shypike »

Works for me though.
Unfortunately I know very little about Apache and proxy-ing :(
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: SABnzbd reverse proxy missing template

Post 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?
-
Kind regards
Bartek
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: SABnzbd reverse proxy missing template

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

Re: SABnzbd reverse proxy missing template

Post 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?
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: SABnzbd reverse proxy missing template

Post 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.
-
Kind regards
Bartek
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: SABnzbd reverse proxy missing template

Post by bbaraniec »

shypike I made another attempt and today it's working. Go figure. Thanks for help anyway. This time I made backup.
-
Kind regards
Bartek
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd reverse proxy missing template

Post by shypike »

Is that still with the standard MTU size?
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: SABnzbd reverse proxy missing template

Post 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.
-
Kind regards
Bartek
Post Reply