.htaccess 274 B

123456789101112
  1. <FilesMatch ^(composer\.(json|lock))$>
  2. Deny from all
  3. </FilesMatch>
  4. RewriteEngine on
  5. # if a directory or a file exists, use it directly
  6. RewriteCond %{REQUEST_FILENAME} !-f
  7. RewriteCond %{REQUEST_FILENAME} !-d
  8. # otherwise forward it to index.php
  9. RewriteRule . index.php