.htaccess 832 B

12345678910111213141516171819202122232425262728
  1. DirectoryIndex index.php
  2. # Redirects
  3. <IfModule mod_rewrite.c>
  4. RewriteEngine On
  5. RewriteBase /bugs/
  6. RewriteCond %{REQUEST_FILENAME} -s [OR]
  7. RewriteCond %{REQUEST_FILENAME} -l [OR]
  8. RewriteCond %{REQUEST_FILENAME} -d
  9. RewriteRule ^.*$ - [NC,L]
  10. RewriteRule ^(?!(index\.php)|(login\.php)) index.php
  11. </IfModule>
  12. # File security
  13. <FilesMatch ".(bak|config|sql|fla|psd|ini|log|sh|inc|~|swp)$">
  14. Order allow,deny
  15. Deny from all
  16. Satisfy All
  17. </FilesMatch>
  18. <FilesMatch "\.(webapp|appcache)$">
  19. FileETag None
  20. <ifModule mod_headers.c>
  21. Header unset ETag
  22. Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
  23. Header set Pragma "no-cache"
  24. Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
  25. </ifModule>
  26. </FilesMatch>
  27. AddType application/x-web-app-manifest+json .webapp
  28. AddType text/cache-manifest .appcache