# 480 weeks 290304000 Header set Cache-Control "max-age=290304000, public" # 2 DAYS 172800 Header set Cache-Control "max-age=172800, public, must-revalidate" # 2 HOURS 7200 Header set Cache-Control "max-age=7200, must-revalidate" SetOutputFilter DEFLATE 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.* # compress text, html, javascript, css, xml: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript # Or, compress certain file types by extension: SetOutputFilter DEFLATE # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress #Protect the .htaccess File & Secure File---------------- Order Allow,Deny Deny from all # disable directory browsing Options All -Indexes # prevent folder listing IndexIgnore * # protect against DOS attacks by limiting file upload size LimitRequestBody 10240000 #Place dynamic file that should be displayed rather than executed RemoveHandler cgi-script .pl .py .cgi # disable the server signature ServerSignature Off # set the server administrator email SetEnv SERVER_ADMIN sbobet@betting-house.com