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
1
vote
3 answers

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…
air
  • 6,136
  • 26
  • 93
  • 125
1
vote
0 answers

how to append query string based on referrer using htaccess rewrite rule

Ok so i'm trying to come up with some rewrite rules in Iirf.ini and i can't quite get it. I'm looking to check the referrer and then add something to the querystring of url you are hitting 1.so say i came from testing.lc and hit just the domain…
davidejones
  • 1,869
  • 1
  • 16
  • 18
1
vote
2 answers

Ionics Isapi Rewrite Filter - Special rule for ? in url

Im relatively new to the ionics rewrite filter and im trying to configure my ruleset to allow for additional dynamic rules for my app. I currently have the following rules defined for my shop part of my application. RewriteRule…
user125264
  • 1,809
  • 2
  • 27
  • 54
1
vote
0 answers

Wordpress rewrite_rules not prepending index.php

I am unfortunately stuck on a Windows server running a WordPress site. My host has installed iirf for URL rewriting. I finally got that working with a little finagling. However the rewrite_rules within WordPress is not prepending index.php when the…
Yellowledbet
  • 147
  • 3
  • 9
1
vote
3 answers

I'm totally baffled... how do i redirect to both www an non www to a new domain?

I've recently moved domains successfully however what I didn't realise was that there were two versions of the website: www and non-www I want to redirect the traffic from my non-www site to my new domain... This is how the iirf.ini file looks like…
1
vote
2 answers

IIRF Redirection Issue in SiteCore

We are trying to handle redirects using IIRF in SiteCore WebApplication. Here we note that the redirections happen as expected in the Classic Mode of the Application Pool but the same does not happen when using Integrated Mode for the Application…
Suhas
  • 417
  • 1
  • 5
  • 18
1
vote
1 answer

IIRF / APACHE Rewrite Conditions Fail with query string

I have a CMS System that converts the ugly URLs into more friendly ones. So far instanstance, instead of the page url being something like this: /pagebase.php?id=3644 I have a url write setup for each page to make it more friendly. For example:…
TroySteven
  • 4,885
  • 4
  • 32
  • 50
1
vote
1 answer

rewrite condition not working after stripping query string

I am using iirf on IIS6 on a Windows 2003 server. We have the following code to present clean urls and to remove any query strings: RewriteRule ^/(.+)\?(.+)&(.+)\.(htm)$ /$1 RewriteRule ^/(.+)\?(.+)$ …
user905752
  • 31
  • 5
1
vote
2 answers

mod rewrite to remove facebook query string

I can't get my query string to work..please help... I have the following url: http://betatest.bracknell-forest.gov.uk/help?fb_action_ids=372043216205703&fb_action_types=og.likes&fb_source=aggregation&fb_aggregation_id=288381481237582 (sorry but the…
user905752
  • 31
  • 5
1
vote
1 answer

IIRF Rewrite Condintion and Rewrite Rules

I'm re-writing a Coldfusion site in PHP. I just started learning about IIRF and how it works with IIS 6. For testing purposes, I want a rewrite condition that looks for specific .cfm files and redirects them to corresponding .php files. Then,…
post.72
  • 333
  • 4
  • 14
1
vote
6 answers

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.…
MaseBase
  • 800
  • 3
  • 8
  • 31
0
votes
1 answer

What's the meaning of "RewriteRule ^.*$ - [S=45]" in Ionic's ISAPI Rewriting Filter Rules?

I found this rule in my INI file of the IIRF Isapi Filter (to rewrite urls on the server), anyone can help me to understand what's mean? I found that "S=45" it's only to jump lines, but what is the meaning of "-"? RewriteRule ^.*$ - [S=45]
Max
  • 4,965
  • 17
  • 49
  • 64
0
votes
1 answer

iirf rewrite url

i'm trying to use iirf for what looks like asimple rewrite but it's not working. what i need: rewrite http://www.mydomain.com/ru to : http://www.mydomain.com?page=russian the objective being that a get param would be sent but the user would see…
samoyed
  • 881
  • 4
  • 13
  • 25
0
votes
2 answers

How to read rewritten url in asp.net 3.5

How to read the rewritten url. If I don't use .aspx in my rewritten url then 'Request.RawUrl' is not working. It is returning the original URL. Please suggest if you have any solution to this. I am using Ionics Isapi Rewrite Filter (IIRF). For…
0
votes
2 answers

Generic redirect from www to non-www

I'm using IIRF on an IIS 6.0 server to redirect users from a "www" version of the site to a "non-www" version using the following code: RewriteCond %{HTTP_HOST} ^www.mydomain.co.uk [NC] RewriteRule ^(.*)$ http://mydomain.co.uk/$1…
ca8msm
  • 1,170
  • 3
  • 15
  • 37