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

How to redirect Query Strings with ISAPI Rewrite?

I'm using the following lines in my httpd.ini file to redirect users who access example.com to www.example.com: RewriteCond Host: (?:www\.)?example.com RewriteRule (.*) http\://www.example.com [RP,L] I'd like to know how redirect Query Strings…
MCardinale
  • 1,408
  • 2
  • 15
  • 22
1
vote
2 answers

url rewrite regex question

My regex expression for isapi rewrite here isn't passing variables in the URL Trying to pass a variables like: www.domain.com/z34232/ProductName.html?ref=magic But the code is ignoring the "ref=magic" string RewriteRule…
joe
  • 67
  • 2
  • 6
1
vote
1 answer

How to get a URL Rewrite for HTTP to HTTP AND non WWW to WWW to work

I have been over the web hunting for solutions for this, but I can get only 1 and 2 to work. http://www.example.com to https://www.example.com www.example.com to https://www.example.com http://example.com to…
MonkeyMagix
  • 677
  • 2
  • 10
  • 30
1
vote
2 answers

redirecting technical links to SEO links

I have a map file which is working fine with SEO-friendly URLs Now the customer want that the user should not be allowed to access the technical links means only SEO links should be accessable e.g my map file looks…
user3733648
  • 1,323
  • 1
  • 10
  • 25
1
vote
3 answers

Rewriting a URL to remove certain characters

I need to rewrite some blog URLs to remove certain characters. These are the along the lines of "a556" (a is always present, the numbers are always 3 digits and are random). This is proceeded by either a single or double hyphen, which I also need to…
Cropsy
  • 31
  • 2
1
vote
1 answer

Need to make one RewriteRule play nicely with another, embarrassingly weak understanding of the principles of mod_rewrite standing in the way

I have the following system: Windows Server '03 IIS 6 (shoot me) PHP 5.2.14 Wordpress 3.0.1 WPML 1.8.1.2 I've added Wordpress to an existing high-traffic site, in a directory we'll call http://thehost/wordpress/ For mod_rewrite-like features, I'm…
Nick
  • 15
  • 4
1
vote
1 answer

Redirect HTTPS to HTTP for one directory while ISAPI rewrite in place

I've got a site (example.com) and a blog (externalblog.com) which is hosted externally and reverse-proxied using ISAPI rewrite. So if you go to www.example.com/blog you're actually on externalblog.com, but the URL is masked. I've got this working…
Paul
  • 57
  • 6
1
vote
1 answer

Migrating from ISAPI Rewrite to Mod_REwrite

I'm currently using ISAPI Rewrite I'd interesting in moving my ColdFusion app to Apache and would therefore like to use MOD_Rewrite. Is this possible? Or do I need to rewrite all the rewrites?
AnApprentice
  • 108,152
  • 195
  • 629
  • 1,012
1
vote
3 answers

ISAPI Rewrite not redirecting request with query string

I have installed the full verison of isapi_rewrite and have setup a proxy directive so that all traffic to my workstation in the folder 'ngis' (on any port) goes to another server. This is for testing purposes to check suitability before rolling out…
jeanml
  • 213
  • 2
  • 5
  • 14
1
vote
0 answers

IIS 8.5 URL Recursive Rewrite

I'm upgrading a Win 2003 box that uses Helicon's ISAPI_REWRITE over to a Win 2012 box (IIS 8.5) and looking at URL Rewrite 2.0 as the replacement. One of my rules was recursive to allow an unlimited number of key/value pairs in the URL to be…
imukai
  • 638
  • 1
  • 7
  • 17
1
vote
0 answers

Cyrillic characters in friendly URLs not working with IIS

I am building a WordPress website which is hosted on Windows Server 2008 R2 with IIS 7.5 For Fancy URLs I am using web.config file with URL Rewrite 2.0 The URLs like website.com/my-page work fine. The problem is when I have Russian or any Cyrillic…
Riz
  • 6,746
  • 16
  • 67
  • 89
1
vote
2 answers

ISAPI Rewrite : Append querystring to the rewrited URl's Query String

Actually, using the following ISAPI rule RewriteCond %{HTTP:Host} ^domain.com$ RewriteRule ^/Product-name/$ /test.cfm?ProductID=xxxx [NC,L] I'm rewriting the following URL…
Rajesh Manilal
  • 1,104
  • 9
  • 20
1
vote
1 answer

ISAPI Rewrite With Azure Web App

I'm not sure if this is the best/correct place for this type of question. But I have an existing .NET website which I am moving from our dedicated EC2 server to an Azure Web App. However, this current site uses an .htaccess file with about 200…
YodasMyDad
  • 9,248
  • 24
  • 76
  • 121
1
vote
1 answer

Maintaining ISAPI Rewrite Path with the ASP.NET tilde (~)

My team is upgrading from ASP.NET 3.5 to ASP.NET 4.0. We are currently using Helicon ISAPI Rewrite to map http://localhost//default.aspx to http://localhost//default.aspx?AccountName= where…
Adam
  • 3,063
  • 5
  • 35
  • 49
1
vote
1 answer

Exclude a directory from a rewriterule using ISAPI rewrite 3

Basically I've recently added the below rule in my httpd.conf for ISAPI rewrite on an IIS server to make sure that it always defaults to lower-case file and directory names. RewriteRule ^(.*[A-Z].*)$ $1 [CL,R=301,L] This is all fine and dandy for…
mludd
  • 729
  • 2
  • 7
  • 23