.htaccess 366 B

123456789101112131415
  1. <FilesMatch ^(composer\.(json|lock))$>
  2. Deny from all
  3. </FilesMatch>
  4. RewriteEngine on
  5. #RewriteCond %{HTTPS} !^on$
  6. #RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  7. # if a directory or a file exists, use it directly
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteCond %{REQUEST_FILENAME} !-d
  10. # otherwise forward it to index.php
  11. RewriteRule . index.php