DirectoryIndex index.php # Redirects 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 # File security Order allow,deny Deny from all Satisfy All FileETag None 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" AddType application/x-web-app-manifest+json .webapp AddType text/cache-manifest .appcache