firefly-iii/public/.htaccess

23 lines
599 B
ApacheConf
Raw Permalink Normal View History

Allow from all
2014-06-28 02:41:44 -05:00
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# 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>