ht
Showing
1 changed file
with
0 additions
and
20 deletions
| 1 | <IfModule mod_rewrite.c> | ||
| 2 | <IfModule mod_negotiation.c> | ||
| 3 | Options -MultiViews | ||
| 4 | </IfModule> | ||
| 5 | |||
| 6 | RewriteEngine On | ||
| 7 | |||
| 8 | # Redirect Trailing Slashes If Not A Folder... | ||
| 9 | RewriteCond %{REQUEST_FILENAME} !-d | ||
| 10 | RewriteRule ^(.*)/$ /$1 [L,R=301] | ||
| 11 | |||
| 12 | # Handle Front Controller... | ||
| 13 | RewriteCond %{REQUEST_FILENAME} !-d | ||
| 14 | RewriteCond %{REQUEST_FILENAME} !-f | ||
| 15 | RewriteRule ^ index.php [L] | ||
| 16 | |||
| 17 | # Handle Authorization Header | ||
| 18 | RewriteCond %{HTTP:Authorization} . | ||
| 19 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | ||
| 20 | </IfModule> |
-
Please register or sign in to post a comment