2011-08-03 22:15:08 -05:00
|
|
|
<IfModule mod_rewrite.c>
|
2013-12-25 09:57:47 +08:00
|
|
|
<IfModule mod_negotiation.c>
|
2017-09-18 20:42:11 +03:00
|
|
|
Options -MultiViews -Indexes
|
2013-10-30 10:14:09 -05:00
|
|
|
</IfModule>
|
|
|
|
|
2013-06-15 13:15:13 -05:00
|
|
|
RewriteEngine On
|
2013-04-09 15:37:50 -05:00
|
|
|
|
2017-09-26 13:13:01 -04:00
|
|
|
# Handle Authorization Header
|
|
|
|
RewriteCond %{HTTP:Authorization} .
|
|
|
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
|
|
|
|
2015-06-26 08:30:59 -05:00
|
|
|
# Redirect Trailing Slashes If Not A Folder...
|
2015-06-26 14:26:44 +01:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
2017-07-23 00:35:36 -07:00
|
|
|
RewriteCond %{REQUEST_URI} (.+)/$
|
|
|
|
RewriteRule ^ %1 [L,R=301]
|
2013-10-26 11:27:40 -05:00
|
|
|
|
2013-12-25 09:57:47 +08:00
|
|
|
# Handle Front Controller...
|
2013-09-19 00:10:17 -05:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
2013-06-15 13:15:13 -05:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteRule ^ index.php [L]
|
2013-09-19 00:10:17 -05:00
|
|
|
</IfModule>
|