RewriteEngine敘述上
<IfModule mod_headers.c>
<IfModule mod_deflate.c>
#壓縮一些文本文件類型
AddOutputFilterByType DEFLATE文本/ HTML文本/ CSS文本/ XML應用程序/ x的JavaScript
#停用壓縮馬車瀏覽器
BrowserMatch ^ Mozilla的/ 4 gzip-only-text/html
BrowserMatch ^ Mozilla的/ 4 \\ .0 [678]無 gzip的
BrowserMatch \\ bMSIE!無 gzip的!gzip-only-text/html
</ ifmodule>
</ ifmodule>
<IfModule mod_rewrite.c>
#RewriteBase /博客/
#RewriteCond%{REQUEST_FILENAME}!- F
#RewriteCond%{REQUEST_FILENAME}!- D
#RewriteRule。 /博客/的index.php [L]
</ IfModule>
RewriteCond%{REQUEST_FILENAME}!- F
RewriteCond%{REQUEST_FILENAME}!- D
RewriteRule。 /博客/ [L]
<Files 403.shtml>
為了允許,拒絕
拒絕來自 93.143.29.205
拒絕來自 93.142.182.66
拒絕來自 93.142.162.176
允許所有
</文件>
拒絕來自 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美元?語言 = $ 1&vbet_outside =真正的[L,QSA]
rewritecond%{QUERY_STRING}!vbet_outside = TRUE
RewriteRule ^(.*)$1美元?vbet_outside =真正的[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]