12345678910111213141516171819202122232425262728 |
- DirectoryIndex index.php
- # Redirects
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /bugs/
- RewriteCond %{REQUEST_FILENAME} -s [OR]
- RewriteCond %{REQUEST_FILENAME} -l [OR]
- RewriteCond %{REQUEST_FILENAME} -d
- RewriteRule ^.*$ - [NC,L]
- RewriteRule ^(?!(index\.php)|(login\.php)) index.php
- </IfModule>
- # File security
- <FilesMatch ".(bak|config|sql|fla|psd|ini|log|sh|inc|~|swp)$">
- Order allow,deny
- Deny from all
- Satisfy All
- </FilesMatch>
- <FilesMatch "\.(webapp|appcache)$">
- FileETag None
- <ifModule mod_headers.c>
- Header unset ETag
- Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
- Header set Pragma "no-cache"
- Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
- </ifModule>
- </FilesMatch>
- AddType application/x-web-app-manifest+json .webapp
- AddType text/cache-manifest .appcache
|