.htaccess 841 B

123456789101112131415161718192021222324252627
  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>
  17. # php -- BEGIN cPanel-generated handler, do not edit
  18. # Set the “ea-php74” package as the default “PHP” programming language.
  19. <IfModule mime_module>
  20. AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml
  21. </IfModule>
  22. # php -- END cPanel-generated handler, do not edit