RewriteEngine trên
<IfModule Mod_headers.c>
<IfModule Mod_deflate.c>
# Nén một số loại tập tin văn bản
AddOutputFilterByType DEFLATE text / html text / css text / xml application / x-javascript
# Tắt nén cho các trình duyệt lỗi
BrowserMatch ^ Mozilla / 4 gzip-only-text/html
BrowserMatch ^ Mozilla / 4 \\ 0,0 [678] không gzip
BrowserMatch \\ bMSIE No-gzip! Gzip-only-text/html
</ IfModule>
</ IfModule>
<IfModule Mod_rewrite.c>
# RewriteBase / blog /
# RewriteCond% {REQUEST_FILENAME}-e!
# RewriteCond% {REQUEST_FILENAME}-d!
# RewriteRule. / Blog / index.php [L]
</ IfModule>
RewriteCond% {REQUEST_FILENAME}-e!
RewriteCond% {REQUEST_FILENAME}-d!
RewriteRule. / Blog / [L]
<Files 403.shtml>
để cho phép, từ chối
từ chối từ 93.143.29.205
từ chối từ 93.142.182.66
từ chối từ 93.142.162.176
cho phép từ tất cả các
</ Files>
từ chối từ 83.233.30.35
RewriteCond% {HTTP_HOST} ^ thecodecage.co.uk $ [OR]
RewriteCond% {HTTP_HOST} ^ www.thecodecage.co.uk $
RewriteRule ^ .* $ "http \\: \\ / \\ / www \\ thecodecage \\ com \\ / \\ forumz \\ /" [R = 301, L]
RewriteCond% {HTTP_HOST} ^ thecodecage.eu $ [OR]
RewriteCond% {HTTP_HOST} ^ www.thecodecage.eu $
RewriteRule ^ .* $ "http \\: \\ / \\ / www \\ thecodecage \\ com \\ /" [R = 301, L]
RewriteCond% {HTTP_HOST} ^ thecodecage.org $ [OR]
RewriteCond% {HTTP_HOST} ^ www.thecodecage.org $
RewriteRule ^ .* $ "http \\: \\ / \\ / www \\ thecodecage \\ com \\ /" [R = 301, L]
RewriteCond% {HTTP_HOST} ^ thecodecage.com $ [OR]
RewriteCond% {HTTP_HOST} ^ www.thecodecage.com/ $
RewriteRule ^ / $ "http \\: \\ / \\ / www \\ thecodecage \\ com \\ /" [R = 301, L]
RewriteCond% {HTTSP_REFERER} ^ https://www.paypal.com/! .* $ [NC]
RewriteCond% {HTTPS_REFERER} ^ https://www.paypal.com $ [NC]
RewriteRule 2 $ language = $ 1 & vbet_outside = true [L, QSA]
RewriteCond% {QUERY_STRING} vbet_outside = true
RewriteRule ^(.*)$ $ 1 vbet_outside = true [L, QSA]
RewriteCond% {HTTP_REFERER} ^ http://skype.com/! .* $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://skype.com! $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://thecodecage.com/! .* $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://thecodecage.com! $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.paypal.com/! .* $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.paypal.com $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.skype.com/! .* $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.skype.com! $ [NC]
RewriteCond% {HTTP_REFERER}! ^ Http://www.thecodecage.co.uk/ .* $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.thecodecage.co.uk! $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.thecodecage.com/! .* $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.thecodecage.com! $ [NC]
RewriteCond% {HTTP_REFERER}! ^ Http://www.thecodecage.com/forumz/ .* $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.thecodecage.com/forumz $ [NC]
RewriteCond% {HTTP_REFERER}! ^ Http://www.thecodecage.com/forumz/images/avatars/ .* $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.thecodecage.com/forumz/images/avatars $ [NC]
RewriteCond% {HTTP_REFERER}! ^ Http://www.thecodecage.com/golf/ .* $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.thecodecage.com/golf! $ [NC]
RewriteCond% {HTTP_REFERER}! ^ Http://www.thecodecage.eu/ .* $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.thecodecage.eu! $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.thecodecage.org/! .* $ [NC]
RewriteCond% {HTTP_REFERER} ^ http://www.thecodecage.org! $ [NC]
RewriteRule .* \\ (jpg | jpeg | gif | png | bmp) $ - [F, NC]