.htaccess 553 B

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