Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddDefaultCharset UTF-8
- DirectoryIndex index.php
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule index.php.* - [L]
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^(.*) index.php?id=$1&%{QUERY_STRING}
- <IfModule mod_gzip.c>
- mod_gzip_on Yes
- mod_gzip_dechunk Yes
- mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
- mod_gzip_item_include handler ^cgi-script$
- mod_gzip_item_include mime ^text\.*
- mod_gzip_item_include mime ^application/x-javascript.*
- mod_gzip_item_exclude mime ^image\.*
- mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
- </IfModule>
- <IfModule mod_expires.c>
- ExpiresActive On
- ExpiresDefault "access 7 days"
- ExpiresByType application/javascript "access plus 1 year"
- ExpiresByType text/javascript "access plus 1 year"
- ExpiresByType text/css "access plus 1 year"
- ExpiresByType text/html "access plus 7 day"
- ExpiresByType text/x-javascript "access 1 year"
- ExpiresByType image/gif "access plus 1 year"
- ExpiresByType image/jpeg "access plus 1 year"
- ExpiresByType image/png "access plus 1 year"
- ExpiresByType image/jpg "access plus 1 year"
- ExpiresByType image/x-icon "access 1 year"
- ExpiresByType application/x-shockwave-flash "access 1 year"
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement