/ Published in: PHP
Expand |
Embed | Plain Text
RewriteEngine On RewriteBase / RewriteRule ^()$ index.php [NC,L] Rewritecond %{REQUEST_URI} !(^/?.*\..*$) [NC] RewriteRule (.*)$ $1.php [NC] ErrorDocument 404 /index
Comments
Subscribe to comments
You need to login to post a comment.

I've just +MultiViews in my Vhost configuration and requests works without any extensions.