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

ISAPI Rewrite - Spaces in URL not being escaped

I have a rule in ISAPI Rewrite that contains space in the destination, and can't figure out how to escape it: RewriteRule ^/directory/(.*) http://servername.com/newdirectory/PieceA PieceB PieceC/ [NC,R,L] When the rule is written as above, I simply…
sbkrogers
  • 1,291
  • 12
  • 25
0
votes
1 answer

IsapiRewrite rules generate strange pages/folders?

i'm using IsapiRewrite from helicontech for my custom classic ASP shopping cart. My actual httpd.ini file is: [ISAPI_Rewrite] RewriteBase / RewriteCond %HTTPS off RewriteCond Host: (?!^www.domain.com)(.+) RewriteRule /(.*) http\://www.domain.com/$2…
Teodor
  • 1,285
  • 4
  • 21
  • 37
0
votes
1 answer

ISAPI Rewrite Block Requests With Keywords in Query String

How can I block requests with certain keywords in the query string using ISAPI Rewrite. i.e. lolita, model, girl etc... Query_String…
Jason Miller
  • 253
  • 1
  • 3
  • 10
0
votes
1 answer

ISAPI Rewrite Rule - Want to Eliminate Some Characters

I am using isapi rewrite and i am having a url www.example.com/<%25=sSiteURL%25>/abc/abc/abc/abc/abc/1883.htm I want to remove this string <%25=sSiteURL%25> I want the url to be like this www.example.com/abc/abc/abc/abc/abc/1883.htm Can anyone…
0
votes
2 answers

Best way to implement three hundred 301 redirects on windows server / .NET

I'm going live with a rebuilt website (on a new, Windows Server 2008 R2 Standard server). I have a spreadsheet containing 300 URLs from the old site which are mapped to the new site URLs. The URLs for each are 'clean' in that they don't have file…
Dan
  • 5,836
  • 22
  • 86
  • 140
0
votes
3 answers

How to rewrite rules for two subfolders using mod_rewrite

I would need to do something like this: ########## SITE 1 RewriteEngine on RewriteBase /mysite1 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?url=$1 [L,QSA] ########## SITE…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
0
votes
1 answer

in MOD_Rewrite / ISAPI_Rewrite, how do I make rules affect specific domains?

I just recently migrated from a linux host to a dedicated server with windows 2003, I had only one site using Mod_rewrite, but with ISAPI _Rewrite 3 free, the rules are global. How do I write a condition to affect only "mysite.com" and not the…
sergiogx
  • 1,562
  • 1
  • 19
  • 36
0
votes
1 answer

IIS / Helicon ISAPI Rewrite Hotlinking Protection

I am using a shared hosting package with ISAPI Rewrite 3 installed. The problem is that when I try to amend the .htaccess to prevent hotlinking, it doesn't work. Does anyone have experience of ISAPI Rewrite that can shed light on what I'm doing…
MiscellaneousUser
  • 2,915
  • 4
  • 25
  • 44
0
votes
1 answer

Wordpress MultiSite with ISAPI filters

I just have installed Wordpress 3.5 to manage more than one domain with one installation (Multi-Site: http://codex.wordpress.org/Create_A_Network) At the end of the installation, Wordpress shown me the follow code for .htaccess RewriteEngine…
Dail
  • 4,622
  • 16
  • 74
  • 109
0
votes
2 answers

Redirecting wildcard sub-domains ISAPI 2

I'm trying to redirect all wildcard sub-domains to example.com via ISAPI Rewrite 2. e.g. qqqq.example.com 301 redirects to example.com Using other info here on Stack I've got the following to redirect www to non-www: RewriteEngine on RewriteCond…
0
votes
1 answer

ISPAI Rewrite 301 Redirects / SEO URL Canonicalization on Windows Server

I am new to working on a windows server and have been made aware that it is setup for ISPAI Rewrite. I have tried creating a httpd.ini file and a .conf file with possible redirects but nothing is working. Could someone show me how to create the…
Richard Bland
  • 73
  • 1
  • 3
  • 12
0
votes
1 answer

Should I set rewrite rules on an ASP.Net MVC site with heliontech IISRewriter Globally or by folder with wordpress?

I'm using IIS6 (unfortunatly) and have built an ASP.Net MVC app; IIS is set up for wildcards to make the routing work but I have two virtual directories that contain wordpress installations which works fine. I have two .htaccess files (one in each…
Chris McKee
  • 4,298
  • 10
  • 48
  • 83
0
votes
1 answer

Odd situation .htaccess file with Win Server2k using Helicon Tech ISAPI Rewrite

I am having issues with an older .htaccess file not accepting URL's that are case insensitive. I need all URL's to be case insensitive, but I have to keep rewriting everything manually which seems completely horrible in practice. Currently, I have…
0
votes
0 answers

ISAPI Rewrite - ReverseProxy doesn't handle images

I'm using ISAPI Rewrite 3 under ASP.NET / IIS 7. My .htaccess file is pretty short: RewriteEngine On RewriteProxy ^(forum|events|support|_css|css|_js)(.*) http://othersite/$1$2 Requests like http://mysite/events/page1.aspx, or…
3Dave
  • 28,657
  • 18
  • 88
  • 151
0
votes
1 answer

Change Local Path for CakePHP over II6 and windows 2003

I have followed this article to configure CakePHP over II6: http://bakery.cakephp.org/articles/jamesmking/2008/04/12/cakephp-on-iis6-with-fastcgi-sql-server-2005-and-isapi_rewrite But i want to change the "Local Path" from…
Alvaro
  • 40,778
  • 30
  • 164
  • 336