1
0

.htaccess 416 B

123456789101112
  1. # Route anything that isn't a real file or directory to the front controller.
  2. <IfModule mod_rewrite.c>
  3. RewriteEngine On
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. RewriteCond %{REQUEST_FILENAME} !-d
  6. RewriteRule ^ index.php [QSA,L]
  7. </IfModule>
  8. # Don't leak the .env or composer files if someone mis-configures the docroot.
  9. <FilesMatch "^(\.env|composer\.(json|lock))$">
  10. Require all denied
  11. </FilesMatch>