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

Best way to redirect from one site to new site adding a querystring to it

I am trying to redirect with .htaccess from one site to another. However I want to add a querystring to the end of the URL that the redirect takes the person to. I have read lots of articles on here and they are about passing the querystring along…
MonkeyMagix
  • 677
  • 2
  • 10
  • 30
0
votes
1 answer

Clean URLs in IIS with mod_rewrite

I have a mod_rewrite issue. Or more accurately, I have an issue with ISAPI_Rewrite, which is a mod_rewrite clone for IIS. Specifically, ISAPI_Rewrite v3 running on IIS 7. It aims to behave identically to mod_rewrite, so I hope my problem applies to…
John Kugelman
  • 349,597
  • 67
  • 533
  • 578
0
votes
1 answer

asp.net 4 Webform application with custom urlrewrite fails on IIS 8

We had some ASP.NET 3.5 and ASP.NET 4 webform websites with Custom UrlRewrite which programmatically map SEO friendly urls (http://example.com/key/This-is-sample-text-in-url.html) to physical address (http://example.com/key.aspx) These websites…
Reza Mortazavi
  • 329
  • 3
  • 14
0
votes
3 answers

mod_rewrite issues using ISAPI_rewriter on IIS6

I'm hoping non-IIS people can help me on this though the issue I'm having is based around an IIS6 server running ISAPI_Rewriter. The situation is that I'm running Wordpress on IIS6, ISAPI_Rewriter is being used to act as a replacement for…
Leonard
  • 648
  • 6
  • 19
0
votes
1 answer

RewriteRule for HTTP to HTTPS and WWW ISAPI Rewrite

I've trawled many forums and tried many solutions. None work correctly. I am using ISAPI Rewrite 3 for IIS. I need to change all requests to our website to WWW and HTTPS. For…
TVRV8S
  • 69
  • 10
0
votes
0 answers

Redirected you too many times

I have a link on the site I'm working on that is giving me issues in chrome. In firefox and ie (I will never say this again) is working as it should, but chrome is showing me this message. And it's not quite making sense. There is only one redirect…
zazvorniki
  • 3,512
  • 21
  • 74
  • 122
0
votes
1 answer

ISAPI rewrite - ignore subdirectory

I have a site where I am using an ISAPI filter to force the removal of index.cfm from the URL (i.e. http://www.site.com/index.cfm becomes http://www.site.com/). Well this is fine for most of the site except for a password protected area of the site…
wblakenc
  • 464
  • 1
  • 5
  • 19
0
votes
1 answer

Using HELICON ISAPI Rewrite & ASP.Net MVC - Url Redirection

I am using IIS and HELICON ISAPI rewrite. My Requirement: Redirect 1 market specific sites to new domain. ex: www.example.com/anz -> www.example2.com/anz (should redirect) www.example.com/deu -> www.example.com/deu (should not redirect) I…
ram
  • 15
  • 1
  • 5
0
votes
1 answer

RewriteRule - redirect multi variable URL to multi variable URL

Our old website has a search URL structure like this: example.com/Country/United States/Region/California/Area/Southern California/City/San Diego/Suburb/South Park/Type/House/Bedrooms/4/Bathrooms/3/ This is currently rewritten to point to the…
TVRV8S
  • 69
  • 10
0
votes
1 answer

ISAPI_ReWrite redirect when there is a space in url

I have a URL which contains white space which I am trying to redirect to another URL but some how the URL is not matched The mapping file looks like tours/cycle%20tour.htm cycle-tours.html I have tried many way like "tours/cycle%20tour.htm"…
user3733648
  • 1,323
  • 1
  • 10
  • 25
0
votes
1 answer

Remove a directory with ISAPI RewriteRule

I'm trying to rewrite a web address to remove a directory, if it exists. In other words, if someone navigates to www.domain.com/a/bad/b/c/page.pdf, the RewriteRule should remove /bad/ and send them to www.domain.com/a/b/c/page.pdf. The /bad/…
Nick Petrie
  • 5,364
  • 11
  • 41
  • 50
0
votes
1 answer

Redirect with bypassing having period (dot) and slash in URL

I have one url which having ./ [period & slash] at the end of parameter. I want to redirect that url with different location but its not even detecting in rules. I am using IIS. I want to configure this on…
0
votes
1 answer

Localization url redirect issue

We are toying around with localization at the moment www.somesite.com : Just normal www.somesite.com/de/ : Should redirect to www.somesite.com?lang=de Same for sub pages. www.somesite.com/de/someCategory.html : should redirect to…
Soeren Pedersen
  • 556
  • 4
  • 6
0
votes
1 answer

Forcing HTTPS using IIS and ISAPI Rewrite

I'm working to force HTTPS, and if the user is on HTTP, redirect the user. For some reason My rewrite rule works great on my prod env but not my dev, here it is: # Redirect HTTP to HTTPS# redirect all http requests to https RewriteCond %HTTPS…
AnApprentice
  • 108,152
  • 195
  • 629
  • 1,012
0
votes
1 answer

Exclude a directory from all ISAPI Rewrite 3 Rules in an HTACCESS file

In our .htaccess file, we have a bunch of different rewrite rules that we add on to periodically. Also, on our site, we have a directory that we NEVER want to be rewritten. So, above each rewrite rule, we include a condition like this: RewriteCond…
Nick Petrie
  • 5,364
  • 11
  • 41
  • 50