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
2 answers

Mod_rewrite - how to 301 redirect an old URL to a new one

I need to grab some of my website's old URLs and do a 301 redirect to the new ones, since they are already indexed and we don't want to loose relevance after the change. The old URL is in fact very ugly and for some reason everything I try to do to…
Marcos Buarque
  • 3,318
  • 8
  • 44
  • 46
0
votes
1 answer

ISAPI redirect to external site in IIS 6.0

I'm using ISAPI Rewrite 3 and my server is running IIS 6. I've never used ISAPI Rewrite before, so I'm a bit in the dark about how to use it. I'm trying to do a simple redirect, so that if anyone hits http://www.mysite.com/page.aspx on my server,…
Steven
  • 18,761
  • 70
  • 194
  • 296
0
votes
1 answer

Create redirect for all pages in a subdirectory

So far I've been setting up redirects for single pages on my ASP.NET site using ISAPI_REWRITE. These work perfectly well (example below): # Redirect RewriteCond %{HTTP:Host} ^(?:www\.)?example\.com$ RewriteRule ^/category-1/products\.aspx…
AlexT
  • 561
  • 1
  • 8
  • 22
0
votes
1 answer

.htaccess redirect to subdirectory on Verio windows server

I've been trying to get a website up an running on my work's servers using Verio windows server 2003 gold and they've been quite useless when it comes to helping me out. All I'm trying to do is set up a Wordpress installation, which they apparently…
Colby Fayock
  • 145
  • 10
0
votes
1 answer

ISAPI Rewrite detect root folder

Using ISAPI Rewrite I'm looking for a way to detect if a given URL contains only one subfolder and then rewriting the URL. www.mysite.com/Cloud => true www.mysite.com/Cloud/ => false www.mysite.com/Cloud/One => false www.mysite.com/Cloud.xml…
jvzoggel
  • 31
  • 3
0
votes
1 answer

Remove file extension in reverse ISAPI Rewrite

So I'm having trouble coming up with a good Regex pattern to remove a file extension from a url with Helicon ISAPI Rewrite. It needs to be able to match any type of extensions and remove it? It most be done in ISAPI do to a lack of.. shall we say…
BenE
  • 67
  • 5
0
votes
1 answer

Need help converting htaccess to ISAPI_Rewrite

Does anyone can help me converting these rules to [ISAPI_Rewrite]. Thanks. RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [NC,OR] RewriteCond %{REQUEST_FILENAME} -d [NC,OR] RewriteCond %{REQUEST_FILENAME} -l [NC] RewriteRule .* -…
Bruno
  • 99
  • 1
  • 8
0
votes
1 answer

Helicon ISAPI Rewrite proxy not forwarding requests

I have the following rules defined in my helicon file: RewriteEngine on RewriteCond %{HTTP:Host} ^current.mydomain.com$ [NC] RewriteRule /reg http://another.mydomain.com/registration [NC, P] When I navigate to the URL…
Michael Edwards
  • 6,308
  • 6
  • 44
  • 75
-1
votes
1 answer

rewrite to WWW and https from every combination

i use isapi rewirte from helicon. i have this code for non-www to www rewrite: RewriteCond %{HTTPS} (on)? RewriteCond %{HTTP:Host} ^(?!www\.)(.+)$ [NC] RewriteCond %{REQUEST_URI} (.+) RewriteRule .? http(?%1s)://www.%2%3 [R=301] works fine for the…
Y.G.J
  • 1,098
  • 5
  • 19
  • 44
-1
votes
1 answer

Problem with yourls.org redirects on windows 2003 with ISAPI rewrite

I've setup a yourls.org (URL shortening service) on a windows 2003 VPS server I have, using ISAPI rewrite. I already have ISAPI rewrite installed and working with Wordpress, so I know that is working. I have used the rules suggested from the…
tadywankenobi
  • 745
  • 1
  • 10
  • 28
-1
votes
2 answers

Dynamic ISAPI ReWrite

I have a few websites that could benefit from some URL rewriting. I understand that a map file is needed, but as the data is dynamic, is there a way to call from an SQL database instead of a static file? Using ISAPI Rewrite via IIS7 eg unfriendly -…
-2
votes
1 answer

How to use ISAPI_rewrite to convert pretty URLs into query string URLs?

In ISAPI_rewrite 3 documentation is this example RewriteRule ^(.*?\.asp)/([^/]*)/([^/]*)(/.+)? $1$4?$2=$3 [NC,LP,QSA] http://www.example.com/foo.asp/a/A/b/B/c/C http://www.example.org/foo.asp?a=A&b=B&c=C Since my products can have more or less…
Leon
  • 121
  • 2
  • 9
1 2 3
16
17