Apache .htaccess mod_rewrite to ISAPI Rewrite
2 posts
• Page 1 of 1
Apache .htaccess mod_rewrite to ISAPI Rewrite
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
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
Re: Apache .htaccess mod_rewrite to ISAPI Rewrite
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.
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.
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 18 guests