isapi-rewrite

ISAPI Rewrite of HTTPS Domains

I'm pretty new to isapi rewrites on IIS. I need to get the following rule applied :- I need https://www.xxx.co.nz to be redirected to https://www.xxx.com - including any additional paths and/or query strings. I've tried this but it just loops: #RewriteCond %HTTPS on #RewriteCond Host: (?!^https://www.xxx.co.nz)(.+) #RewriteRule /(.*)...

How do I turn on Https without error with ISAPI_Rewrite?

I am getting "The page isn't redirecting properly" in Firefox when trying to use the following redirect rules. turn on https for these guys RewriteCond %HTTPS off RewriteCond Host: (.*) RewriteRule ^/(cc_contactus.asp|cc_trackship.asp|ordertrack.asp|confirm.asp|cc_signup.asp) https\://$1/$2 [I,RP] turn off https for these guys R...

Able to remove one word from URL? ISAPI_Rewrite httpd.ini question

I'm using ISAPI_Rewrite, Windows server 2008. Currently I am rewriting URLs to httpd.ini like this: RewriteRule /this-is-my-super-fancy-url/([^/]+)? /foobar/index.html?nid=10$1 Problem is, now we need to remove certain words from the URL, yet still have the request filled. For instance, in the example above if I needed to remove the...

url rewrite regex question

My regex expression for isapi rewrite here isn't passing variables in the URL Trying to pass a variables like: www.domain.com/z34232/ProductName.html?ref=magic But the code is ignoring the "ref=magic" string RewriteRule .*z([[:digit:]]*)\/.*.html\??(.*) /product.asp\?pnum=$1(?2&$2&:) [I,O,L] Any suggestions would be extremely h...

ISAPI REWRITE ON IIS

I am workin on a aspx site hosted on shared hosting on appliedi.com with isapirewrite enabled. The site structure is WWWROOT->WEBSITE->FILES If i am right, all rewriterules go in to htaccess file. Now one such file is present in WWWROOT Folder, one in WEBSITE My questions, 1. which htaccess actually works 2. When i see both files there...