mod_rewrite to ISAPI Rewrite
			2 posts
			 • Page 1 of 1
		
	
mod_rewrite to ISAPI Rewrite
my .htaccess code as below:
How to create httpd.ini file with the same above roles ???
			
		- 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 ???
Re: mod_rewrite to ISAPI Rewrite
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]
			
		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]
			2 posts
			 • Page 1 of 1
		
	
Who is online
Users browsing this forum: No registered users and 2 guests