5 lines
153 B
ApacheConf
5 lines
153 B
ApacheConf
RewriteEngine on
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_FILENAME}\.php -f
|
|
RewriteRule ^(.*)$ $1.php [NC,L]
|
|
ErrorDocument 404 /404.php |