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
4
votes
1 answer

How to rewrite urls that have an accidental %20 at the end?

I wound up with a bunch of backlinks to my site that have the correct URL, except there was an accidental trailing space so the links came out with a trailing %20, which causes a page not found error. I tried variations on this: RewriteRule ^/%20…
phil
  • 51
  • 2
4
votes
2 answers

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…
jdelator
  • 4,101
  • 6
  • 39
  • 53
4
votes
1 answer

ASP.NET site. Redirect whole domain from http to https

Just like in a title. How to redirect whole domain for example: http://testdomain.com.au/ to https://testdomain.com.au/ Can i do it in IIRF file ? If yes how this should look like ? How to bind IIRF file to site ?
born2fr4g
  • 1,290
  • 4
  • 27
  • 38
3
votes
1 answer

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…
Salman A
  • 262,204
  • 82
  • 430
  • 521
3
votes
1 answer

ISAPI Rewrite with Query String

On my website I have URLs like this: http:// www.domain.com/something-like-page-title-4en With ISAPI Rewriter (Ionics Isapi Rewrite Filter) I have following rule: RewriteRule ^/([^.?]+[^.?/])$ /index.php?URL_string=$1 [L,U] That means, above rule…
Misko
  • 43
  • 7
3
votes
1 answer

How do I use Zend Framework 2 with virtual directories on IIS6?

I'm trying to set up a Zend Framework 2 environment without success. I've been following these instructions: http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html The one difference is that I'm trying to install it on a…
richie
  • 781
  • 2
  • 11
  • 24
3
votes
2 answers

how do i redirect only php files with mod-rewrite (iirf)

I currently have redirects (using IIRF, but i believe this to be the same as .htaccess rules) set up so that all files don't get redirected, and just go straight to the filepath in the URL, but everything else gets redirected to /index.php Using the…
Ben Green
  • 428
  • 1
  • 7
  • 18
2
votes
2 answers

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)…
Blair McMillan
  • 5,299
  • 2
  • 25
  • 45
2
votes
1 answer

How do I exclude a single directory from HTTPS to HTTP 301 redirect with IIS6+IIRF

I already have a 301 from HTTPS to HTTP sitewide. But I want to exclude checkout pages so that they are always HTTPS (located in "/shopping-cart/") Tried this: #RewriteCond %{SERVER_PORT} ^443$ #RewriteRule ^(.*)$ http://www.example.com$1…
OutFall
  • 482
  • 7
  • 20
2
votes
1 answer

Laravel .htaccess mod_rewrite rules on IIS6 with IIRF

Can anyone help me to get Laravel php frameworks default .htaccess mod_rewrite file converted for IIS6 with IIRF isapi plugin? Laravel default .htaccess Options -MultiViews
Priit
  • 422
  • 1
  • 5
  • 15
2
votes
0 answers

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…
arri.io
  • 556
  • 1
  • 5
  • 19
2
votes
2 answers

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

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…
chickeninabiscuit
  • 9,061
  • 12
  • 50
  • 56
2
votes
1 answer

Converting .htaccess to IIRF

I'm trying to convert to IIRF, but it's just not working. The IIRF documentation is not very helpful. Original code: Options +FollowSymlinks RewriteEngine On RewriteRule ^([a-zA-Z0-9_\-\/]+)$ ?g=$1 [L] I tried adding slashes, but that doesn't seem…
2
votes
2 answers

IIRF How to redirect CRUD requests

I'm trying to make IIRF redirect POST UPDATE DELETE requests, not only GET one. Here is the config RedirectRule ^/web1$ /web2/ [I] ProxyPass ^/web1/(.*)$ http://another.example.com:25000/web2/$1 ProxyPassReverse /web1…
Alex
  • 634
  • 1
  • 8
  • 29
2
votes
2 answers

php upload doesn't work in production due to folder permission

I have a php page that receive information with attachment from user and upload it, the page work perfectly local, but when work on production it doesn't work, the server specs. windows server 2003 Iirf is installed on IIS6 instead of…
ahmedsaber111
  • 821
  • 5
  • 19
  • 38
1
2 3 4 5 6