.htaccess 654 B

123456789101112131415161718192021222324252627282930313233
  1. Options All -Indexes
  2. Options +FollowSymlinks
  3. RewriteEngine On
  4. <Files "app.json">
  5. Require all denied
  6. </Files>
  7. <Files "schema.json">
  8. Require all denied
  9. </Files>
  10. <Files "sql.debug.sql">
  11. Require all denied
  12. </Files>
  13. <Files ".gitignore">
  14. Require all denied
  15. </Files>
  16. <Files "todo.txt">
  17. Require all denied
  18. </Files>
  19. <Files "*.maintenance">
  20. Require all denied
  21. </Files>
  22. <Files "readme.md">
  23. Require all denied
  24. </Files>
  25. #if requested resource isn't a file
  26. # and isn't a directory
  27. # then serve local error script
  28. RewriteCond %{REQUEST_FILENAME} !-f
  29. RewriteCond %{REQUEST_FILENAME} !-d
  30. RewriteRule .* action.php?action=rewrite [L]