afzalarsalan/inventors-respond/master/api/.htaccess - Htaccess File

afzalarsalan/inventors-respond/master/api/.htaccess

Options -Multiviews
Options -Indexes
Options +FollowSymLinks

RewriteEngine on 

RewriteCond %{REQUEST_URI} !dispatch.php$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^.* dispatch.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-d 
RewriteCond %{REQUEST_FILENAME}.php -f 
RewriteRule ^(.*)$ $1.php

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache