.htaccess 662 B

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