2023-09-23 00:16:04 -05:00
|
|
|
Allow from all
|
2014-06-28 02:41:44 -05:00
|
|
|
<IfModule mod_rewrite.c>
|
|
|
|
<IfModule mod_negotiation.c>
|
|
|
|
Options -MultiViews
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
RewriteEngine On
|
|
|
|
|
2016-01-08 07:27:35 -06:00
|
|
|
# Redirect Trailing Slashes If Not A Folder...
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
2017-09-09 15:32:11 -05:00
|
|
|
RewriteCond %{REQUEST_URI} (.+)/$
|
|
|
|
RewriteRule ^ %1 [L,R=301]
|
2014-06-28 02:41:44 -05:00
|
|
|
|
|
|
|
# Handle Front Controller...
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteRule ^ index.php [L]
|
2016-09-15 23:19:40 -05:00
|
|
|
|
|
|
|
# Handle Authorization Header
|
|
|
|
RewriteCond %{HTTP:Authorization} .
|
|
|
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
2014-06-28 02:41:44 -05:00
|
|
|
</IfModule>
|