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 if file with .ext exists then allow it as a folder URL

I am trying to do the following... If a page called login.asp exists then allow a rewrite for it as /login/ but do not allow a direct access to login.asp. Here is my code so far. # Helicon ISAPI_Rewrite configuration file # Version…
Chris Dowdeswell
  • 858
  • 2
  • 11
  • 25
0
votes
1 answer

ISAPI Rewrite RewriteRule for domain root username URLs

I am trying to create a root username using ISAPI Rewrite. E.g. www.mysite.com/myusername I want this to redirect to... /user.asp=myusername Then if the username is not found to load content based on the /folder/ Maybe it would be good to check if…
Chris Dowdeswell
  • 858
  • 2
  • 11
  • 25
0
votes
2 answers

MVC3 .net 4.0 extensionless urls and isapi_rewrite

Unfortunatly I am forced to use IIS6 for my MVC website. .net 4.0 adds functionality to mimic the stupid hack for getting extensionless urls to work in IIS6. My website is designed to take advantage url rewriting for SEO purposes. The keyword…
jason
  • 767
  • 2
  • 9
  • 24
0
votes
1 answer

How to install Symfony2 on IIS with ISAPI_Rewrite

I'm stuck with IIS6 for a specific project and I am having difficulty using ISAPI_Rewrite. I use the symfony1 guide, installed ISAPI_Rewrite3 and I am trying to install a project as a subdirectory (using a virtual directory) within a website…
Steven Rosato
  • 2,174
  • 1
  • 21
  • 32
0
votes
2 answers

Helicon ISAPI rewrite

I'd like to add cache and expires headers for all my .js files because I'm not able to do it on my server. I'm using IIS. How might I do this?
0
votes
2 answers

Anyone get CakePHP 2 to work on IIS 5.1 with Helicon ISAPI_rewrite?

I'm trying to get CakePHP 2.0 to work on my Win2k laptop at home but have been stymied by mod rewrite issues. For previous versions of Cake (1.2, 1.3) I used ISAPI_rewrite with the following rule (my app is in a virtual folder…
Matt
  • 1,328
  • 1
  • 16
  • 28
0
votes
1 answer

Create a 301 redirect using ISAPI Rewrite for IIS

I have created this one and it works, RewriteRule shoppingcart.aspx ViewCart.aspx [NC,R=301] I'm trying to get this to work, RewriteRule search.aspx?advanced=1 AdvancedSearch.aspx [NC,R=301] Not sure if i'm supposed to use a rewrite condition, or…
Oscar Arango
  • 113
  • 1
  • 1
  • 11
0
votes
1 answer

rewrite subdomain to domain

I have a request that would look something like this http://cariers.example.com/style/all.css that would need to be rewritten to http://www.example.com/style/all.css. The request could be anything from a file like .css or .js to an actual page…
bflemi3
  • 6,698
  • 20
  • 88
  • 155
0
votes
1 answer

URLs are inconsistently being redirected using ISAPI urlrewrite 3.0

I'm trying to create some friendly urls. search/real searc/tpp everything is working fine except the browser changes to reflect the unfriendly url. Even though I am not specifying a redirect. Please see the last two lines of my .htaccess file…
Doug Chamberlain
  • 11,192
  • 9
  • 51
  • 91
0
votes
1 answer

simple 301 redirect with ISAPI_Rewrite

i need to reditrect this url http://www.mydomain.com/folder/Templates/ShowPage.asp?DBID=1&LNGID=1&TMID=10000&FID=579 to http://www.mydomain.com/folder/Templates/showpage.asp?DBID=1&LNGID=1&TMID=302&FID=569 i'm using "Helicon Tech :…
eyalb
  • 2,994
  • 9
  • 43
  • 64
0
votes
1 answer

ISAPI Rewrite Syntax To Stop Image Hotlinking

I have followed a couple of tutorials for adding rules in ISAPI to stop image hotlinking for a website I own. I have added this RewriteCond Referer: (?!http://(?:www\.mydomain\.co\.uk)).+ RewriteRule .*\.(?:gif|jpg|png) /images/block.gif [I,O] BUT…
YodasMyDad
  • 9,248
  • 24
  • 76
  • 121
0
votes
1 answer

Zend Framework on IIS6 with ISAPI Rewrite

I'm trying to move a zend application from Apache2 to IIS6, so I decided to install ISAPI Rewrite 3 as recommended here, so I copied the hole app folder to c:\inetpub\wwwroot\ and made the IIS Default Web Site to point to the folder /public. Now,…
Joaquín L. Robles
  • 6,261
  • 10
  • 66
  • 96
0
votes
1 answer

Matching