Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 263 Bytes
# URL rewriting
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
# 1 week cache
<FilesMatch "\.(png|ico)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>