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

WordPress permalinks with Windows Server IIS6 - without ISAPI access

I'm having trouble to export the website to my client hosting . . I get an index.php in the url all the time, I've research about it, change the permalink custom structure to: /%postname%/ and add this .htaccess in the root of the…
tibewww
  • 593
  • 4
  • 11
  • 32
1
vote
1 answer

Help with redirection for .com, .net and .org domains: redirecting all of them to .com

I need help with some rules in ISAPI_Rewrite in my installation. (If you only know mod_rewrite could be a good help to, so I would adapt the configuration). I'm going to be very honest about my needs. I need to do this configuration in the next few…
1
vote
2 answers

.htaccess Redirect in case of 404

I have this line of .htaccess This line is used to get images from another server. RewriteRule ^resources/fabricantes(.*)$ http://mysecondserver.com/arq/pictures/fab$1 than, if I have the url:…
Andy Schmitt
  • 441
  • 1
  • 6
  • 23
1
vote
1 answer

Unable to Rewrite directory with fullstop in name to another

I need to rewrite a directory and all is contents to a new directory however I am having issues I think due to the source directory having a full stop in it. i.e. http://example.com/1.0/ to http://example.com/newfolder/ Here is the rule I am…
MonkeyBlue
  • 2,234
  • 6
  • 31
  • 41
1
vote
1 answer

ISAPI Rewrite won't proxy the root folder

I wasn't sure if this is a ServerFault question or StackOverflow, so I am going to ask it here first. When using ISAPI Rewrite (Helion Tech), I cannot seem to proxy the root directory http://www.somesite.com/ http://www.somesite.com/subdir/ will…
Jeremy Boyd
  • 5,245
  • 7
  • 33
  • 57
1
vote
1 answer

IIS 6 Isapi filter - forward or redirect requets to other domain

A code bellow is main part of my Isapi filter for IIS 6. I need to redirect all request which contains "/some_string" to other url, which lies on other domain and other server. How to do it? DWORD…
eridanix
  • 818
  • 1
  • 8
  • 27
1
vote
2 answers

ASP/VBSCRIPT URL Trailing dots issue

i've got a problem whereby some websites linking into mine have truncated the URL with trailing dots, 3 of them to be exact! eg. http://www.mywebsite.com/7542-this-is-a-link-to... The url should be…
1
vote
2 answers

Wordpress Permalinks with ISAPI Rewrite 2

I'm trying to remove index.php from WordPress URLS. I have this code in my httpd.ini file [ISAPI_Rewrite] RewriteCond Host: domain\.com RewriteRule (.*) http\://www.domain.com$1 [I,RP] RewriteRule /(?!index\.php)([^/.]+)/ /index.php/$1…
1
vote
2 answers

ISAPI Rewrite 3 rule for redirectling http to https for a particular site

I have multiple sites on a single IIS 6 server running ISAPI Rewrite 3 (free addition). I need to redirect just one of the sites to https if the request comes in as http. Example: I need http://bar.foo.com to redirect to https://bar.foo.com. I…
M. Travis Volker
  • 2,310
  • 3
  • 20
  • 21
1
vote
1 answer

ISAPI Rewrite rule to allow optional parameters

I am using ISAPI rewrite to rewrite a news feed to our web site. The problem I have is that the rewrite rule does not account for optional parameters that may be passed for google tracking. A typical link is a…
EvilKermitSaurus
  • 195
  • 1
  • 3
  • 16
1
vote
1 answer

Redirect .html links to .php links inside a folder using rewrites

I have a folder called 'work' on my server that previously had .html files in it. Now all the files have .php extensions but clients still have the old links to the .html files. I don't want to redirect all .html files to .php versions from the root…
rgdigi
  • 1,701
  • 2
  • 21
  • 31
1
vote
1 answer

Does Helicon ISAPI Rewrite 3 Lite caches files for existence check?

I'm working on a dynamic thumbnail generation feature for a site, and I am using mod_rewrite features to do a quick caching of the images that are already generated. I do this with the following Rewrite conditions: RewriteCond …
oarevalo
  • 3,298
  • 1
  • 22
  • 19
1
vote
1 answer

Passing Non Existing Directory As a parameter in IIS or Apache

First look at this url: https://stackoverflow.com/questions/tagged/xoxoxo/ This directory does not exists but somehow stackoverflow can pass that last directory as a parameter to his base script. Is this possible to configure IIS or Apache to do so?…
EBAG
  • 21,625
  • 14
  • 59
  • 93
1
vote
2 answers

Switch hosting providers - redirect users to new site before and after DNS updates propagate

We want to switch hosting providers. To do so will require a DNS update for the IP address associated with our domain. Content has been tested and brought up on the new server. The DNS update has been made but users are not able to see the new site…
Jay Walker
  • 4,654
  • 5
  • 47
  • 53
1
vote
2 answers

ISAPI_Rewrite ver 3.0 mapping

I want to implement the mapping issue of this tool and I cannot make it work. This is the rule: RewriteBase / RewriteMap mapfile txt:mapfile.txt RewriteRule /([^?/]+)\.asp /Products.asp?Prod=${mapfile:$1} For example, I want every file on my…
user153230
  • 11
  • 1