.htaccess 711B

12345678910111213141516171819202122232425
  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_URI} !^/main
  8. RewriteCond %{REQUEST_URI} !^/game
  9. RewriteCond %{REQUEST_URI} !^/invoice
  10. RewriteCond %{REQUEST_URI} !^/tmz
  11. RewriteCond %{REQUEST_FILENAME} !-d
  12. RewriteRule ^(.*)/$ /$1 [L,R=301]
  13. # Handle Front Controller...
  14. RewriteCond %{REQUEST_FILENAME} !-d
  15. RewriteCond %{REQUEST_FILENAME} !-f
  16. RewriteRule ^ index.php [L]
  17. # Handle Authorization Header
  18. RewriteCond %{HTTP:Authorization} .
  19. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  20. </IfModule>