mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-01-26 03:04:00 +00:00
Currently working - Basic structure - Basic caching and gzip compression for speed - Admin authentication
20 lines
724 B
ApacheConf
20 lines
724 B
ApacheConf
<IfModule mod_expires.c>
|
|
ExpiresActive On
|
|
############################################
|
|
## Add default Expires header
|
|
## http://developer.yahoo.com/performance/rules.html#expires
|
|
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
|
|
ExpiresDefault "access plus 1 year"
|
|
ExpiresByType image/gif A2592000
|
|
ExpiresByType image/jpeg A2592000
|
|
ExpiresByType text/plain A2592000
|
|
ExpiresByType text/css A2592000
|
|
</FilesMatch>
|
|
</IfModule>
|
|
|
|
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-javascript text/css
|
|
|
|
RewriteEngine On
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^(.*)$ index.php/$1 [QSA,L] |