RewriteEngine叙述上
<IfModule mod_headers.c>
<IfModule mod_deflate.c>
#压缩某些类型的文本文件
AddOutputFilterByType DEFLATE text / 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 = 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,数控]