Apache .htaccess mod_rewrite to ISAPI Rewrite

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 1
Joined: 13 Nov 2014, 01:32

Apache .htaccess mod_rewrite to ISAPI Rewrite

13 Nov 2014, 01:38

I am new to this as customer just happened to run from Windows server with IIS6 and ISAPI Rewrite.

I currently have in Apache .htaccess the following and do not know how to make it work in ISAPI for URL Rewrite. Please help

RewriteEngine On
RewriteRule ^content/([^/.]+)/([^/.]+)/?$ handler.php?id=$1&cat=$2 [L]

The above rule will rewrite the url http://www.domain.com/content/12/34


thanks

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Apache .htaccess mod_rewrite to ISAPI Rewrite

13 Nov 2014, 07:08

Hello,

Please try fixing the rule like this:

RewriteEngine On
RewriteBase /
RewriteRule ^content/([^/.]+)/([^/.]+)/?$ /handler.php?id=$1&cat=$2 [NC,L]

If it still doesn't work, please provide rewrite.log records for the test request.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 18 guests