koolkode/k1-app/master/web/.htaccess - Htaccess File

koolkode/k1-app/master/web/.htaccess

# Ensure index file is used.
DirectoryIndex index.php

# Disable multi views as they are not needed here.
<IfModule negotiation_module>

 Options -MultiViews

</IfModule>

<IfModule rewrite_module>

 RewriteEngine On
 
 # Fix HTTP authorization in CGI environment
 RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
 
 # Rewrite all requests to non existing resources to the bootsrap
 RewriteCond %{SCRIPT_FILENAME} !-f
 RewriteCond %{SCRIPT_FILENAME} !-d
 RewriteCond %{SCRIPT_FILENAME} !-l
 RewriteRule ^(.*)$ index.php?$1 [L,QSA]

</IfModule>

On Github License

Files

Download PDF of Htaccess file
SCRIPT_FILENAME

Comments

Apache