eriklotin/mig/master/.htaccess - Htaccess File

eriklotin/mig/master/.htaccess

Options -Indexes
php_value display_errors 1

RewriteEngine On

RewriteCond %{THE_REQUEST} ^(.+).php([#?][^ ]*)? HTTP/
RewriteRule ^(.+).php$ $1 
#RewriteRule ^(.+).php$ $1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule ^([^/.]+)$ $1.php [L]
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule ^([^/]+)/(.*)$ $1.php?$2

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, THE_REQUEST

Comments

Apache