1 <IfModule mod_rewrite.c>
2 <IfModule mod_negotiation.c>
3 Options -MultiViews -Indexes
8 # Handle Authorization Header
9 RewriteCond %{HTTP:Authorization} .
10 RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
12 # Redirect Trailing Slashes If Not A Folder...
13 RewriteCond %{REQUEST_FILENAME} !-d
14 RewriteRule ^(.*)/$ /$1 [L,R=301]
16 # Handle Front Controller...
17 RewriteCond %{REQUEST_FILENAME} !-d
18 RewriteCond %{REQUEST_FILENAME} !-f
19 RewriteRule ^ index.php [L]