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

ISAPI ZEND url rewrite adding extra "/index.php/" into url

We recently reinstalled our web site on our server, the sys admin says it is an exact rebuild, and it indeed looks to me that it is, but there is something different going on. I did not originally develop the site, and those who did are no longer…
None
2
votes
2 answers

Url rewriting with IIS 6 and MVC 3

I have a url that can look like domain.com/f1/v1/f2/v2/f3/v3/f4/v4/f5/v5/f6/v6 with variations of lesser counts such…
jason
  • 767
  • 2
  • 9
  • 24
2
votes
3 answers

Isapi Rewrite - access query string pattern matches in RewriteRule

I'm using Isapi Rewrite 3 (mod rewrite clone for IIS) and trying to rewrite URLs based on the query string - and then pass on part of that query string in the rewrite. So if I enter a URL like this:…
stubotnik
  • 1,952
  • 2
  • 17
  • 31
2
votes
2 answers

Pass subdomain as parameter

I'm new to ISAPI_Rewrite & I'm terrible with regular expressions. I'm in need of a rewrite rule for ISAPI_Rewrite that will remove the subdomain and pass it as a parameter. For example: mysubdomain.mydomain.com should…
James Hill
  • 60,353
  • 20
  • 145
  • 161
1
vote
2 answers

Skipping a entire directory using Helicon ISAPI rewrite v3.0

Here is my current .htaccess file. This file is in my root directory for my site. I want to add a rule that in plain english will do the following. COMPLETELY SHUT OFF RULES PROCESSING FOR http://www.sc-pa.com/dr405/*.* RewriteEngine…
Doug Chamberlain
  • 11,192
  • 9
  • 51
  • 91
1
vote
1 answer

How to make Isapi Rewrite rules case-sensitive?

I want to direct my users based on a case-sensitive url: www.mysite.com/a ==> page 1 www.mysite.com/A ==> page 2 I'm using the ISAPI rewrite with the following rule: RewriteRule ^([0-9a-zA-Z] {1,7}) $/redirect/?K=$1 [L] Apparently this rule is not…
afazolo
  • 382
  • 2
  • 6
  • 22
1
vote
1 answer

ISAPI rewrite - "Redirecting non-www version to www" rule with SSL

I'm using a tool called : ISAPI Rewrite 3 Lite from Helicon Tech (an "apache .htaccess mod_rewrite compatible module for IIS"). I've applied the "Redirecting non-www version to www" rule (from :…
Moe Sisko
  • 11,665
  • 8
  • 50
  • 80
1
vote
2 answers

Excluding a directory with ISAPI-Rewrite

I am trying to exclude a directory with ISAPI-Rewrite (note: this is a windows/iis port of mod-rewrite). The directory I want to exclude is "api" when it is at the root of the site. Here is my rule: RewriteRule ^(/api/)(.+)$ $1$2 [NC, L] A request…
1
vote
3 answers

Are there any gotchas for url re-writing a ColdFusion site with ISAPI_Rewrite v2?

I've been asked to help out with some ColdFusion development and one of the tasks will be to undertake url re-writing, mostly turning url parameters into a cleaner url. The site is on a hosted service with cf8 running on iis, with Helicon Tech…
blank
  • 17,852
  • 20
  • 105
  • 159
1
vote
1 answer

ISAPI_Rewrite 3.0 ... Noob ... how to get started? just installed

just installed v3 lite to try it out before getting full version. i got the follwing in .htaccess file in the root folder of the .net web app RewriteEngine On RewriteCond %{HTTPS} (on)? RewriteCond %{HTTP_HOST}…
robert
  • 1,523
  • 5
  • 19
  • 27
1
vote
4 answers

1 domain two separate applications

http://www.one.com and http://www.one.com/uk www.one.com is the main site, but there is a UK version of this site which ideally needs to be in a subdirectory (/uk). How do set IIS up to allow me to have multiple sites under one domain? Or can I…
Mark
1
vote
3 answers

Faulting application name: w3wp.exe on IIS7 and PHP Windows Server 2008 x64

I try to run a website with Helicon Isapi Rewrite 3 on a Windows Server 2008 R2 x64 with IIS 7.5 installed. The website is using PHP 5.2.16 on ISAPI mode. I use the request_uri.php solution (see code) for the bug in IIS. The server error I get is:…
Cerveser
  • 752
  • 8
  • 23
1
vote
1 answer

Apache mod_rewrite mapping path to parameters

I'm moving over from IIS to Apache (on Windows) and struggling with adapting a rewrite rule (using Helicon ISAPI_Rewrite 3 in IIS). The rule maps what looks like a directory structure path back into a set of query string parameters. There could be…
1
vote
2 answers

IIS7 Rewrite Module - Redirct from root to default.aspx

I have a situation where I need to rewrite from the root to default.aspx. So if someone hits www.domain.com or www.domain.com/ I need to redirect to www.domain.com/default.aspx - any idea what the regex for this looks like and which server variable…
Payson Welch
  • 1,388
  • 2
  • 17
  • 29
1
vote
1 answer

Rewrite base url to show content of cms page

Trying to rewrite a base url e.g http://beta.mydomain.com to http://beta.mydomain.com/cms/index.cfm/new-home but want browser to show base url not the cms url. Im trying this in isapi httpd config file: RewriteRule ^$ /cms/index.cfm/new-home…
Mubi
  • 54
  • 1
  • 8
1 2
3
16 17