Questions tagged [isapi-rewrite]

ISAPI_Rewrite is a URL rewriter for Microsoft IIS, from Helicon Tech.

ISAPI_Rewrite from Helicon Tech. This is a URL rewriter for Microsoft IIS.

There are two versions still in use, with different syntax, so it is helpful to specify the version in the question. v3 is the latest, compatible with Apache mod_rewrite. v2 is the previous incompatible version. Both versions of ISAPI_Rewrite are really meant for IIS6 and earlier. For IIS7, Helicon Tech strongly recommends their Helicon Ape product, which contains the mod_rewrite as one module. There is a separate tag for Helicon Ape.

252 questions
1
vote
1 answer

Can I write ISAPI filters in Perl?

I need to write an ISAPI filter for IIS 6.0 to rewrite ugly URLs into SEO-friendly URLs. Because of the need for string parsing and regular expressions, I'd prefer to use Perl to do this. There is a module for IIS called (ingeniously) Perl for IIS,…
Chris
  • 874
  • 1
  • 9
  • 13
1
vote
1 answer

Getting 404 when accessing xml file having german characters in name on IIS6

I have a web application developed in ASP.NET. This app is setup on IIS 6 on windows 2003 server and same application setup on on IIS 7.5 on windows 2008 server. I have some xml files on root of the website having special characters in german i.e.…
Sanjay Sen
  • 1
  • 1
  • 8
1
vote
1 answer

Remove specific querystrings from the location Url of a redirect response using ISAPI and IIS

I have a few querystring keys ("mobile", "nomobile", etc.) that I do not want to be sent in any 301 redirect responses. For example, let's say I have the Url /about-us that redirects to /about. RewriteRule ^about-us$ /about [NC,L,R=301] Rewrite…
James Lawruk
  • 30,112
  • 19
  • 130
  • 137
1
vote
1 answer

Duplicate 'index.php' using ISAPI to re-write URL on IIS

I'm using ISAPI_Rewrite v2 to remove my index.php on IIS 6. This is how the rewrite should work: http://dev.mysite.co.uk/mypage => http://dev.mysite.co.uk/index.php/mypage http://dev.mysite.co.uk/anotherpage =>…
jd182
  • 3,180
  • 6
  • 21
  • 30
1
vote
1 answer

Isapi Rewrite upgrade from 2 to 3 - query string not available?

A little late but I just upgraded from Isapi Rewrite version 2 to version 3. I'm having problems with rules in the following style: RewriteRule ^/seo-friendly/(\?(.*))? /test/index.cfm?page=home&$2 Here I want any extra query string parameters…
stubotnik
  • 1,952
  • 2
  • 17
  • 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

.htaccess and wordpress: trying to add folder to special rewrite

I have a Wordpress install and a Miva Store install that I'm trying to setup with SEO friendly links on IIS6 with ISAPI_Rewrite. When we initially setup Wordpress, we found that the default htaccess setup wouldn't work for us, because we had…
Benjamin Solum
  • 2,281
  • 18
  • 29
0
votes
3 answers

regex to redirect non www to www and subdomain to file

I need to do the following .. have come across various examples but i need to combine three conditions redirect 1) redirect non www / non subdomain requests. eg : http://xyzsite.com to http://www.xyzsite.com 2) redirect if subdomain is mentioned .…
suraj jain
  • 1,012
  • 14
  • 26
0
votes
1 answer

Using Helicon ISAPI Rewrite v3 Lite on IIS6

Could anyone help me on how to configure IIS 6 to use ISAPI Rewrite v3 Lite. I've installed it already and I've tried using sample rewriting withe Host being my website and I've also added the .dll to the ISAPI Filter but my site won't redirect…
Erick Garcia
  • 832
  • 2
  • 12
  • 29
0
votes
2 answers

ISAPI_Rewrite 3 doesn't work on a new website on IIS7

A number of programmers I work with have ISAPI_Rewrite 3 set-up on their local machines with IIS7 and it works extremely well. I've just created a new website and ISAPI_Rewrite 3 works there as well with no issues. But a colleague of mine did the…
Salsero69
  • 2,160
  • 3
  • 23
  • 27
0
votes
2 answers

ISAPI_Rewrite to 301 redirect old domain to new domain, running ASP.NET4

I have two identical websites on different URLs: http://www.oldsite.co.uk and http://www.newsite.co.uk. I want to 301 redirect all requests from the old site to the new site for every kind of extension (e.g. 'index.htm', 'images/image.jpg',…
Dan
  • 5,836
  • 22
  • 86
  • 140
0
votes
1 answer

ISAPI Rewrite Rule

I'm new to ISAPI re-write rules and having some difficulty finding out if I can do the following. I have ISAPI running on IIS6 and need to do the following. If have a page where I pass a product ID…
Craig Ray
  • 83
  • 1
  • 8
0
votes
1 answer

htaccess and POST requests

I'm using ISAPI htaccess rule on my website. I opened fiddler and saw an ajax post request with content in its body. then the client got 302 redirect (htaccess rule), but this second request was sent with no body content. How can it be?
Elad Benda
  • 35,076
  • 87
  • 265
  • 471
0
votes
2 answers

How do you use rewritecond with a lookup in a map

I have a map that I use to rewrite urls in my asp.net MVC application. I would like this rule to be conditional on the presence of the lookup value in the map. RewriteMap contentmap txt:content/maps/contentmap.txt [NC] RewriteRule home/([^/]*)$…
jason
  • 767
  • 2
  • 9
  • 24
0
votes
1 answer

ISAPI Rewrite rule changing https request to http one, for specific page

What should look isapi rewrite rule which can change https to http for a specific page, ex: https://www.portal.com/mypage to http://www.portal.com/mypage Regards
jwaliszko
  • 16,942
  • 22
  • 92
  • 158