Page 1 of 1

Smpl RSS config behind apache ProxyPass

Posted: July 27th, 2011, 12:14 am
by ecsousa
Hi,

I've having problem trying to edit RSS feeds using smpl skin, when accessing throgh apache, using ProxyPass and ProxyPassReverse configured as described in SABNzbd how-to. Whener I click in a RRS pre-configured, nothing occours.

I think the problem is with smpl skin, because with classic skins there is no problem.

As it seens to be a connectivity issue (because without apache there is no issue), I've some digging using wireshark to see what's goning on.

Here what I found:

the rediret configuration I've been using (in httpd.config) is:

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>
With wiresahrk, I could see the following sequence of requests at the end (I've removed the session querystring value, as it seens to be me API Key):

Code: Select all

/sabnzbd/tapi?mode=qstatus&output=json&_dc=0.4800454289579209&session=...
/sabnzbd/config/rss/?_dc=0.42157950068075034&session=...
/config/rss/?_dc=0.7764547759015213&session=...&feed=Californication
/sabnzbd/tapi?mode=qstatus&output=json&_dc=0.15259728544170703&session=...
I figured the the issue is caused by the request to "/config" direct. In fact, I have configured a Proxy /config also, as shown bellow:

Code: Select all

<Location /config>
order deny,allow
deny from all
allow from all
ProxyPass http://localhost:8080/sabnzbd/config
ProxyPassReverse http://localhost:8080/sabnzbd/config
</Location>
I worked fine! So, this sould really be the source of the issue.

Here my deployment specification:
  • Version: 0.6.6Beta2
    OS: Ubuntu maverick
    Install-type: linux repository (ppa)
    Skin: Smpl Version: 1.3
    Firewall Software: None
    Are you using IPV6? no
    Is the issue reproducible? yes

Regards,

ecsousa

Re: Smpl RSS config behind apache ProxyPass

Posted: July 27th, 2011, 2:05 am
by shypike
Thanks for sharing this.
The truth is that we have trouble maintaining the smpl skin
after its designer left the team. I realize that it should be improved, but lack
of time and knowledge are a problem.