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
0
votes
0 answers

ISAPI Rewrite and Redirection Problems

Another developer wrote these rules rules: [ISAPI_Rewrite] RewriteCond Host: (?:.+\.)?mydomain\.com RewriteCond URL ^/mydomain.com/(.*) RewriteCond METHOD GET RewriteRule ^/mydomain.com/(.*) /$1 [I,R] RewriteCond Host:…
Jhourlad Estrella
  • 3,545
  • 4
  • 37
  • 66
0
votes
1 answer

Safe to allow double escaping on IIS

I have a site that is using IIS 7.5 it is also using ISAPI rewrite. I would like to redirect some URLS that will be passed by a piece of desktop software one of our business partners use. Basically they have an app that can be used to look up…
valis
  • 235
  • 1
  • 4
  • 15
0
votes
3 answers

rewritemap not matching

I'm having trouble with my rewritemap not matching things: RewriteMap map txt:rewritemaps\map.txt [NC] RewriteCond ${map:$1|NOT_FOUND} !NOT_FOUND [NC] RewriteRule ^(.+)$ ${map:$1} [NC, R=301] The map has about 4,500 entries, including: arctic …
Adam Hopkinson
  • 28,281
  • 7
  • 65
  • 99
0
votes
1 answer

Sharepoint 2007 Page Redirection Issue

I have an issue in Sharepoint 2007. Can someone please suggest a solution for the same. Below is the issue. We have a sharepoint site and it redirects to "sitename"/pages/default.aspx by default. So my first task is to stop this redirect and just…
Lalith
  • 1
0
votes
1 answer

Isapi Rewrite not working, query string mod

if you hypothetically typed in: http://www.domain.com/Items-Shopping-Shoe-2013 my website needs to see: http://www.domain.com/items.asp?Cc=Shoe-2013 so, I thought this would be pretty simple.. I edited the httpd.ini for helicon Isapi rewrite with…
RonB
  • 136
  • 1
  • 2
  • 14
0
votes
1 answer

Using ISAPI Rewrite 3 & ASP.Net MVC?

I'm using ISAPI Rewrite3 on IIS6 for two Virtual Directories at the moment that contain Wordpress. I need to setup some rules at the root of the site to redirect old urls to new urls: i.e. http://www.example.com/somefolder/* >…
Chris McKee
  • 4,298
  • 10
  • 48
  • 83
0
votes
1 answer

URL_Rewriting with ISAPI_rewrite

I have a problem in ISAPI_rewrite 3. a have a url like www.example.com/web/index.html?ag=2154 What I want is, when the user writes this address it should be converted to agent's subdomain like www.2154.example.com/web/index.html?ag=2154 Thanks in…
user160820
  • 14,866
  • 22
  • 67
  • 94
0
votes
1 answer

Redirecting non-www to www in IsapiRewrite

I am trying to redirect calls to http://mydomain.com to http://www.mydomain.com. Is there a simple way to do it in IsapiRewrite file? I have tried the following but it is not working: RedirectRule ^mydomain.com$ www.mydomain.com [R=301] Also…
user1810724
  • 83
  • 1
  • 1
  • 4
0
votes
3 answers

Problem with Symfony routing with online project

I have a Symfony project on a Win XP / IIS 7 machine with Isapi rewrite installed. When I go to the frontend (my main) application, it seems that the routing simply doesn't work. I always end up on my default module/action. However, if I…
Steven Mercatante
  • 24,757
  • 9
  • 65
  • 109
0
votes
1 answer

Using ISAPI_Rewrite 3 proxy over ssl

Here is my rule: RewriteCond %{HTTP_HOST} ^www.siteone.com$ [NC] RewriteRule ^/checkout/(.*)$ https://www.sitetwo.com/checkout/$1 [NC,P] What I am trying to do is use the checkout page on sitetwo to process an order related to siteone. Our overall…
user210581
0
votes
1 answer

ISAPI Rewrite Syntax Incorrect?

I'm trying to use Helicon Isapi rewrite on IIS 6. Basically all I want to accomplish is redirecting a directory to another site. I would like to the URL to stay the same. The URL is…
0
votes
0 answers

RewriteRule causing redirection

I have IIS 7.5 with ISAPI_Rewrite(Helicon) I'm trying to do so that the robots.txt from each hosted site will be the same. For that purpose I have one dummy site(sometestsite.com) which has robots1.txt(which I want to be reused on each other…
Vladimirs
  • 8,232
  • 4
  • 43
  • 79
0
votes
0 answers

Helped to Make Url Rewrite

I am using following rewrite rules to redirect or not on SSL. First rule "Redirect to SSL" is working fine but second rule does not work as i required. If domain is mysite.tv/api then it do not redirect my link to SSL(https).
azharmalik3
  • 553
  • 8
  • 21
0
votes
1 answer

Rewrite Rules with question mark in ISAPI

i have a rewrite question that need help with. Rewrite from this URL: mydomain/x.cfm?color=pink&page=1 to this URL: mydomain/pink--x.cfm?page=1 Using the following rules: RewriteEngine On RewriteCond %{QUERY_STRING}…
Yi Huang
  • 1
  • 1
0
votes
1 answer

ISAPI Rewrite rule help (http://www.foo.com/bar --> http://www.foo.com/bar.aspx)

A really easy one, but I need to get this right, and cannot afford mistakes as I need to deploy on a live server as soon as I can. http://www.foo.com/bar --> http://www.foo.com/bar.aspx http://www.foo.com/bar?q=boo -->…
Ian G
  • 29,468
  • 21
  • 78
  • 92