Htaccess File


# Ensure index file is used.
DirectoryIndex index.php

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

 Options -MultiViews


<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]

Exit mobile version