Page 1 of 1

Setting up SABnzbd with IIS url rewrites

Posted: March 4th, 2011, 7:32 am
by jrussell
Hey everyone, im having trouble setting up SABnzbd with IIS url rewrites.

I have a server with Windows 7 Ultimate 32bit on 10.0.0.3
SABnzbd 0.5.6 running on port 10101 with the host set to 0.0.0.0
Comodo firewall
and IIS 7.5 installed
Windows is all up to date.


I have downloaded the IIS 7 rewrite module 2.0 with ARR, here is the setup:


I have a site called "Russell"
under "Russell" i have created a virtual directory, and placed it at D:\IIS\Rewrites\SABnzbd.

under the virtual directory "SABnzbd" in "Russell", I have setup a reverse proxy with the rewrite module.
After opening "rewrite" from the SABznbd virtual directory, I selected "add rule" and then "reverse proxy" then under "inbound rules" i told the requests to be forwarded to 127.0.0.1:10101.

The rule gets added and seems to half work on my local network.

If i go to http://10.0.0.3/sabnzbd/ on my laptop(10.0.0.5), i get asked for a SABnzbd username and password, so I log in and all goes well.
The address in my laptops browser is "http://10.0.0.3/sabnzbd/" and SABnzbd works perfectly with the "light" theme activated,

but as soon as i activate the "Plush" theme and click on "Config" the address in my laptops browser goes to "http://10.0.0.3/connections/" and i get
"404 - File or directory not found."

but if i add in "/sabnzbd/" into the address to make it "http://10.0.0.3/sabnzbd/connections/" instead of "http://10.0.0.3/connections/" where it goes by default, it works, untill i click on some other link from config.

Does anyone know what my problem is? I would really appreciate any help as this is the same problem with my router and subsonic which dont work at all with rewrites (for the same reason i think). Im not very good with all of this stuff and it might just be a stupid simple problem.

Any help would be appreciatedĀ  :)

Jason

Re: Setting up SABnzbd with IIS url rewrites

Posted: March 4th, 2011, 7:37 am
by shypike
There may be a problem with the way Plush generates links to itself.
I'll check this for the 0.6.0 beta program.
We'll not be fixing 0.5.6 any more.

Re: Setting up SABnzbd with IIS url rewrites

Posted: March 4th, 2011, 7:47 am
by jrussell
It does work perfectly on our VPS though...same SABnzbd, but uses http://www.lighttpd.net/ on linux