mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-03-12 05:57:43 +00:00
Initial commit, Ecard system build with CodeIgniter PHP framework
Currently working - Basic structure - Basic caching and gzip compression for speed - Admin authentication
This commit is contained in:
committed by
Ismo Vuorinen
parent
345d8ea65a
commit
c10c9e3131
20
.htaccess
Normal file
20
.htaccess
Normal file
@@ -0,0 +1,20 @@
|
||||
<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]
|
||||
Reference in New Issue
Block a user