Setting up SABnzbd with IIS url rewrites

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
jrussell
Newbie
Newbie
Posts: 16
Joined: July 4th, 2010, 9:56 am

Setting up SABnzbd with IIS url rewrites

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

Re: Setting up SABnzbd with IIS url rewrites

Post 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.
jrussell
Newbie
Newbie
Posts: 16
Joined: July 4th, 2010, 9:56 am

Re: Setting up SABnzbd with IIS url rewrites

Post by jrussell »

It does work perfectly on our VPS though...same SABnzbd, but uses http://www.lighttpd.net/ on linux
Post Reply