php - mod_rewrite to ISAPI Rewrite -


my .htaccess code below:

rewriteengine on rewritecond %{request_filename} !-f rewriterule ^([^\.]+)$ $1.php [nc,l] errordocument 404 http://www.intelligent-t.com/404 

how create httpd.ini file same above roles ???

there no alternative errordocument directive , rewritecond %{request_filename} !-f in isapi_rewrite 2, closest config this:

[isapi_rewrite]  rewriterule /(?!(?:list|of|physical|files|and|folders))([^\.]+)$ /$1.php [i,l] 

Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -