You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
603 B

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