Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ifModule mod_expires.c>
- ExpiresActive On
- ExpiresDefault "access plus 1 seconds"
- ExpiresByType text/html "access plus 3600 seconds"
- ExpiresByType image/gif "access plus 1 years"
- ExpiresByType image/jpeg "access plus 1 years"
- ExpiresByType image/png "access plus 1 years"
- ExpiresByType image/x-icon "access plus 1 years"
- ExpiresByType text/css "access plus 1 weeks"
- ExpiresByType text/javascript "access plus 1 months"
- ExpiresByType application/x-javascript "access plus 1 months"
- ExpiresByType application/javascript "access plus 1 months"
- </ifModule>
- <ifModule mod_headers.c>
- Header unset ETag
- </ifModule>
- FileETag None
- <ifModule mod_headers.c>
- Header unset Last-Modified
- </ifModule>
- #RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
- #RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
- Header add Vary accept-encoding
- RewriteEngine on
- RewriteCond %{HTTP:accept-encoding} gzip
- RewriteCond %{REQUEST_FILENAME} !\.gz$
- RewriteCond %{REQUEST_FILENAME}.gz -f
- RewriteRule (.*) $1.gz
- RewriteRule ^/rss$ /atom.xml [R=301,L]
- ErrorDocument 404 /404.html
- DirectorySlash off
Add Comment
Please, Sign In to add comment