mod_rewrite to ISAPI Rewrite

ISAPI_Rewrite is a powerful URL manipulation engine based on regular expressions
User avatar
Posts: 1
Joined: 31 Mar 2015, 18:38

mod_rewrite to ISAPI Rewrite

31 Mar 2015, 18:40

my .htaccess code as below:

Code: Select all
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
ErrorDocument 404 http://www.intelligent-t.com/404


How to create httpd.ini file with the same above roles ???

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

Re: mod_rewrite to ISAPI Rewrite

01 Apr 2015, 15:08

Hello,

Unfortunately, there is no alternative for ErrorDocument directive and RewriteCond %{REQUEST_FILENAME} !-f in ISAPI_Rewrite 2, but the closest config will look like this:

[ISAPI_Rewrite]

RewriteRule /(?!(?:list|of|physical|files|and|folders))([^\.]+)$ /$1.php [I,L]

Return to ISAPI_Rewrite 2.x

Who is online

Users browsing this forum: No registered users and 2 guests