brandonhimpfen/qotd.ca/master/.htaccess - Htaccess File

brandonhimpfen/qotd.ca/master/.htaccess

ErrorDocument 404 /index.php

<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_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 1 week"
</IfModule>

deny from 188.13.39.226
deny from 78.186.211.193
deny from 5.9.35.43
deny from 82.117.234.78
deny from 193.169.87.206
deny from 194.9.94.228
deny from 188.165.128.124
deny from 193.0.146.149
deny from 180.234.81.228
deny from 199.101.184.132
deny from 121.205.212.247
deny from 180.234.31.231
deny from 193.0.147.
deny from 193.0.146.
deny from 82.146.
deny from 89.218.101.90
deny from 2.133.92.138
deny from 95.66.143.43
deny from 101.226.89.
deny from 58.246.181.4
deny from 109.230.220.35
deny from 188.143.232.144
deny from 188.143.232.153
deny from 188.143.233.
deny from 194.150.248.42
deny from 67.222.154.122
deny from 64.33.50.205
deny from 188.143.232.
deny from 109.230.213.227
deny from 78.154.105.23
deny from 94.242.237.

On Github License

Files

Download PDF of Htaccess file
DEFLATE, no-gzip

Comments

Apache