# Helicon Ape # mod_rewrite rules RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [NC,L] RewriteRule .*\.png$ crm.png [L] Header set CacheControl max-age=13,public RewriteRule (.*)\.png$ $1.png [L] <Location index.php> ExpiresByType "text/html; charset=UTF-8" A30 CacheEnable mem CacheVaryByHeaders Original-Url </Location> # expiration ExpiresActive On ExpiresByType image/jpeg "access plus 1 days" ExpiresByType image/gif "access plus 1 days" ExpiresByType text/css "access plus 1 days" ExpiresByType application/x-javascript "access plus 1 days" # gzipping mod_gzip_on yes mod_gzip_item_include Mime ^text/.* <Files index.php> ExpiresByType "text/html; charset=UTF-8" A30 CacheEnable mem CacheVaryByHeaders Original-Url </Files> Header set Server "Apache/2.2.9 (Unix)"