iirf

How can I test if IIRF works?

http://www.codeplex.com/IIRF/Thread/List.aspx My webhost installed IIRF for me and I am convinced that they did not do it correctly. I've tried numerous examples including one that I know works with apache's mod_rewrite but I can't get anything to work with IIRF. Is there rule or configuration option that you guys have that you know of ...

IonicIsapiRewriter doesn't work on Windows 2008 but does in Vista

I am migrating my sites from a Windows 2003 server to Windows 2008 however the url rewriting application simply doesnt work when set up on the Windows 2008. Any ideas? I just get 404's instead of it trying to rewrite the url. I have tried using MS Urlrewriting module but it doesnt appear to work either as I have to use the app in Integ...

Stack overflow in IIRF (a C program, ISAPI)

I am using IIRF - an ISAPI rewrite filter for pretty URL's. I haven't been able to get much help from the developer on these issues. I'm hoping by making some sense of this dump, so I can find the problematic area in the code and rebuild it myself. I am not super familiar with C, but can get around. Do I need to build this with debug sym...

URL Rewriting multiple folders to one folder

Hi, I'm using IIRF on IIS6/Server03 with an MVC app in the root of the server and a virtual directory for the wordpress blog/cms. I'd ideally like the urls as follows... domain.com/ domain.com/wpcategory/ -> rewritten from domain.com/blog/wpcategory/ domain.com/wpcategory/wparticle/ -> rewritten from domain.com/blog/wpcategory/art...

IIRF URL rewrite to force www prefix: example.com -> www.example.com

Hi there, I'm trying to do something pretty simple in iirf. I want all requests that are missing the www. prefix to have it added. This is my IsapiRewrite4.ini: RewriteCond %{HTTP_HOST} ^example\.com$ [I] RewriteRule ^(.*)$ www.example.com/$1 [R=301,L] This is my SampleUrls.txt: example.com example.com/grants www.example.com www...

IIS 5.1, HttpHandler based on path, NOT Working. Is it possible to fix with IIRF?

I have a reverse proxy written in C#/ASP.NET. After adding a Wildcard Mapping in IIS6 it works just fine. My problem is that I have to make this application compatible with Windows XP and IIS 5.1. At first attempt adding a wildcard file type mapped to aspnet_isapi.dll didn't work. I also tried using a file extention to no avail. My ...

IIRF redirect combine rules?

I have 3 "rules". One to make sure URLs are lowercase another to include a slash at the end of directories, and a 3rd to force access to index.html pages to be thru the directory instead. The problem w/ how I have it is, sometimes this is causing multiple 301 redirects. I'd really like each rule to apply in turn and then if neccessary r...

IIRF Rewrite Rule for IIS7

i am using IIRF v2.1 for Rewrite Rule i write on rule like this but its not working RewriteRule ^(prod|pag|staf)/([A-Za-z0-9-]+)/?$ $1.php?iid=$2 [QSA,L] if i use follwoing url http://localhost/prod/22/new-item what i need actual URL is http://localhost/prod.php?iid=22 yes working version is RewriteRule /^(prod|pag|staf)/([A-Za-z...

IIRF reverse proxy problem

Hi everyone, We have a java application ( Atlassian Bamboo) running on port 8085 on Windows 2003. It is accessile as http: //bamboo:8085. I am trying to setup reverse proxy for IIS6 using IIRF so content is accessible via http: //bamboo. It seems that I set it ip correctly, and I can retrieve Status page. This is how my IIRF.ini ...

Using IIRF to redirect to a PDF

I'm using IIRF to redirect certain URLs to specific PDF files. For instance, for the URL /newsletter/2010/02 I'd like it to redirect to /pdf/newsletters/Feb2010.pdf. I'm not too hot at regular expressions, but I created the following rule: RedirectRule ^/newsletter/2010/01 /pdf/newsletters/Newsletter012010.pdf [I,R=301] and it doe...

IIRF not working with AsP.NET PostBacks?

Hi, I have the following scenario Web server A: public on the internet, IIRF (current version) installed Web server B: not public, on the intranet, visible to A, my APS.NET web app is installed on, name is pgdbtest3 I configure IIRF so that any request targetting directory /MMS/ on server A is redirected to the corresponding one in B:...

IIRF with IIS and the ASP.Net Tilda(~)

Hello, When I turn on URL Rewriting to access a page, the ~ no long is replaced with the application root. For example should produce: but its only outputting The tilda is supposed to be replaced with the application root path but it looks like IIRF is messing with that somehow? Any ideas on how to fix this? ...

How to replace 'dash' with 'underscore' in an IIRF rule?

I have a web app which serves images based on the subdomain. We wanted to provide our users with a url like this: http://{username}.domain.com/images/myimage.jpg Instead of what we used to have: http://www.reallylongdomainname.com/users/{username}/images/myimage.jpg This makes the url shorter and less 'snoopable'. So I set up an IIRF...

IIRF ProxyPass ignored

I'm using IIRF, IIS 6.0, W2k3. I'm trying to use ProxyPass, as follows: RewriteLog c:\temp\iirfLog.log RewriteLogLevel 3 RewriteFilterPriority HIGH ProxyPass ^/foo/(.*)$ http://www.example.com/$1 [I] but it never works. The IIRF log shows: Wed Jun 30 13:19:54 - 6120 - ReadConfig: setting LogLevel to 3 Wed Jun 30 13:19:54 - 6120 -...

RewriteCond Check if file exists in a subdirectory

I'm using Iirf v2.0. I have the following directory structure: / /library /library/index.php /webroot /webroot/images /Iirf.ini Where I have a library folder which contains my application, a webroot folder (which contains images, stylesheets etc) and an Iirf.ini config file. I'm wanting to redirect all requests to /library/index.php...

IIRF Multiple Reverse Proxy / Load balancing

http://cheeso.members.winisp.net/Iirf21Help/html/d9d3d4d7-7b3a-4418-b290-c297b041ff42.htm How can I do reverse proxy like mongrel in IIRF? I have 5 identical site but on different port. What I need is to proxy these to the main port 80 of the server. Is there anyway to do this? I am running IIS6 and WinServ 2003 Thank you ...

IIRF v2.0 - Help with Domain's and Redirects

I have a primary domain - let's call it xyz.com. I also have several other secondary domains such as abc.com def.com, ghi.com, etc.. These domain all have the same content. I am trying to do a URL redirect in IIRF that will take any of the secondary domains, and replace it with my primary xyz domain. This is the closest I have gotten. ...

RewriteRules for Symfony 1.4 running IIS6 with IIRF

I need some help translating the following mod_rewrite rules from a .htaccess file to IIRF (iirf.codeplex.com) format: RewriteEngine On # uncomment the following line, if you are having trouble # getting no_script_name to work RewriteBase / # we skip all files with .something RewriteCond %{REQUEST_URI} \..+$ RewriteCond ...

How to get the "originally requested" URL when using IIRF URL Rewriting Engine

I am using Iconic's IIRF URL Rewriting Engine on IIS and the "fancy" URLs are something like this: http://some-website.com/some-function/418/some-keyword-rich-filename.html This example URL corresponds to: http://some-website.com/some-function.asp?SOME-ID=418 Now inside the some-function.asp file I need to know the page that was re...