piwik/github-issues-mirror/master/src/public/.htaccess - Htaccess File

piwik/github-issues-mirror/master/src/public/.htaccess

<IfModule mod_rewrite.c>
  Options +FollowSymLinks
  RewriteEngine On
</IfModule>

<IfModule mod_rewrite.c>
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

## EXPIRES CACHING - SITE SPEED##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 month"
ExpiresByType image/jpeg "access 1 month"
ExpiresByType image/gif "access 1 month"
ExpiresByType image/png "access 1 month"
ExpiresByType text/css "access 3 days"
ExpiresByType application/font-woff "access 1 month"
ExpiresByType application/font-ttf "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 3 days"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 8 days"
</IfModule>
## EXPIRES CACHING ##

AddType application/font-woff .woff

# deny access to hidden files
RedirectMatch 404 /..*$

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache