Questions tagged [iirf]

Ionic's Isapi Rewrite Filter is a small, free, easy to use, URL rewriting ISAPI filter for IIS 6.0 and later. It uses Perl-compatible regular expression syntax and can act as a transparent proxy.

Ionic's Isapi Rewrite Filter is a URL rewriting ISAPI filter for IIS 6.0 and later similar to mod_rewrite for Apache.

Features

  • Regular expression matching with Perl-compatible regular expression syntax
  • Automatic configuration reloading
  • Can act as a transparent proxy (like Apache's mod_proxy)
  • Uses .htaccess syntax with some exceptions
  • Open source

Resources

82 questions
0
votes
1 answer

Need help redirecting double percentage signs %% using IIRF ISAPI Filter

I am trying to redirect the following URL http://www.example.com/%%Some-Random-URL%%000001&ProductID=BIG2008_118&AEProjectTypeIDURL=APT_61 using the following code: RewriteRule ^(.*)/.Some-Random-URL(.)$ $1 [NC,L,R=301] But the redirect is not…
0
votes
1 answer

How to rewrite a form action on the "Help Page" of an ASP.NET web service

For normal .aspx pages I can just put a Form.browser file into the App_Browsers directory like the following.
Durden81
  • 966
  • 9
  • 25
0
votes
2 answers

Trying to exclude css and js files with IIRF rewrite

I'm trying to get IIRF working so that it rewrites certain URLs, but ignores files like .css and .js files. I have URLs like: /admin/ /admin/user/ /admin/user/view-details/1 /admin/user/view-details/1?edit Which all work, but I can't seem to get…
gmadd
  • 1,146
  • 9
  • 18
0
votes
2 answers

mod_rewrite with multiple variables

I have a URL like so: http://localhost/deals/?search=fred that redirects to index.cfm?path= When I use mod rewrite the URL parameter becomes path = /deals/?search=fred I currently have RewriteRule /(.*) /index.cfm?path=/$1 [L] How can I split it so…
Alessandro
  • 305
  • 2
  • 8
  • 22
0
votes
1 answer

wordpress iis6 permalink /%postname%/ doesnt work IIRF url rewrite needed?

I have a wordpress site on iis6 and I want this:php?id=6 to look like this: /postname/. When I change the permalink I get a 404 error. I have the IIRF proxy extension enabled, and in my root directory I have a IIRF.ini with the following…
tdjfdjdj
  • 2,391
  • 13
  • 44
  • 71
0
votes
1 answer

iconic IIRF rewriting all to index.asp

I am trying to rewrite all to index.asp and the rules that I am using are: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^.*$ /index.asp [NC,L,QSA] Now it rewrites all except existing pages, for example if I…
Dejan Dozet
  • 948
  • 10
  • 26
0
votes
1 answer

URL rewrite with IIRF makes dokuwiki slow

EDIT: the IIRF.ini code was not the problem in this case, the performance issues with dokuwiki were in fact permissions related, and the introduction of URL re-writing was not the cause of the issue. I've got a new instance of Dokuwiki (i.e. almost…
Alec
  • 946
  • 1
  • 11
  • 22
0
votes
2 answers

Is there a mono alternative for IIRF isapi rewrite filter?

I'm moving some ASP.NET projects from IIS to Cherokee/nginx and I need a solution for url rewriting. I'm using IIRF (great project) but this works only on IIS.
Rui Marques
  • 3,429
  • 1
  • 22
  • 26
0
votes
2 answers

URL being stored in SCRIPT_NAME on subsequent requests in IIRF?

I'm having an issue with IIRF (Ionics Isapi Rewrite Filter) on IIS6 (although in this case not sure that's relevant), and it appears to be working on initial requests, but on a standard refresh (i.e. F5 not CTRL + F5), most of the time it will just…
user3452805
  • 1,511
  • 2
  • 11
  • 14
0
votes
1 answer

IIRF url rewriting with IIS 6

I want to rewrite this url: "www.mydomain.com/myproject/index.php?function=demo" to 'www.mydomain.com/myproject/home/demo' and I have this code in my iirf.ini file: RewriteEngine on StatusInquiry On /iirfSatus RewriteLog…
0
votes
1 answer

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…
jessegavin
  • 74,067
  • 28
  • 136
  • 164
0
votes
2 answers

IIRF on IIS8 / Window Server 2012 Throwing w3wp.exe Exceptions

Has anyone had any luck getting IIRF to work with IIS8? I'm migrating an existing PHP web app off of an IIS 7.5 / Windows Server 2008 R2 server onto the new IIS8 / 2012 server. I downloaded and tested all IIRF 2.x versions to no avail. I've run…
0
votes
1 answer

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

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…
Justin808
  • 20,859
  • 46
  • 160
  • 265
0
votes
1 answer

IIRF Allow Specific IP's in a blocked range

I have a range of IP addresses that are blocked. But I have 3 ip addresses within this block that need to be allowed. Can anyone help with this? The Rewrite rule looks like this: RewriteCond %{HTTP_true_client_ip}…
user2506891
  • 143
  • 2
  • 9
0
votes
0 answers

URL Rewrite AngularJS IIS not working, hostingprovider requires iirf.ini file?

I have been through all posts on the forum on URL rewriting for AngularJS routing. I want to get rid of the hash in my URL and I can, but on refresh I still get a 404 Error. My hostingprovider has IIS installed and they have some documentation on…
Michelangelo
  • 5,888
  • 5
  • 31
  • 50