Reputation: 23
I use .htaccess
rewrite rules to redirect urls with the extension .html
to .php
.
These are my current rewrite rules:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)\.html$ a/$1.php [NC]
How do I get these to work on IIS6?
Upvotes: 0
Views: 57
Reputation: 119816
Apache (which is the web server in XAMPP) .htaccess
(mod_rewrite) rules won't work on IIS6. You need to install a third party rewriter such as HeliconTech's ISAPI_Rewrite to achieve this.
IIS7+ supports rewriting out of the box but the format is different.
Upvotes: 1