Permalink
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 831 Bytes
#RewriteEngine On
#
#RewriteBase /lansuite-svn/
#RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/index.html$ index.php?mod=$1&action=$2&step=$3&$4=$5 [L]
#RewriteRule ^(.*)/(.*)/(.*)/(.*)/index.html$ index.php?mod=$1&action=$2&step=$3&$4 [L]
#RewriteRule ^(.*)/(.*)/(.*)/index.html$ index.php?mod=$1&action=$2&$3 [L]
#RewriteRule ^(.*)/(.*)/index.html$ index.php?mod=$1&$2 [L]
#
#RewriteRule ^(.*)/(design/(.*))$ $2 [L]
#RewriteRule ^(.*)/(ext_inc/(.*))$ $2 [L]
#RewriteRule ^(.*)/(index.php)$ $2 [L]
<ifModule mod_headers.c>
# 60 days cache for images
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=5184000, public"
</FilesMatch>
# 24 hours cache for css and js
<FilesMatch "\.(css|js)$">
Header set Cache-Control "max-age=86400, private, must-revalidate"
</FilesMatch>
</ifModule>