DirectoryIndex index.html index.htm portal.php index.php index.jsp
RewriteEngine on
ErrorDocument 404
http://huyhoa.biz/404.shtml# Ngan cam IP Vietnam
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} !^news\.dmtcenter\.com$ [NC]
# 58.186.0.0 - 58.187.255.255
# 125.134.0.0 - 125.135.255.255
# 222.252.0.0 - 222.252.255.255
# 203.41.55.0 - 203.41.55.255
# 203.160.0.0 - 203.160.1.255
RewriteCond %{REMOTE_ADDR} ^(0?58\.18[67]|125\.13[45]|222\.252|203\.0?41\.0?55|203\.160\.0*[01])\..+$ [OR]
# 203.162.0.0 - 203.162.54.255
# 203.162.88.0 - 203.162.255.255
RewriteCond %{REMOTE_ADDR} ^203\.162\.((0?[0-4]?[0-9]|5[0-4])|(0?8[89]|9[0-9]|[12][0-9]{2}))\..+$ [OR]
# 203.210.128.0 - 203.210.159.255
# 203.113.128.0 - 203.113.191.255
RewriteCond %{REMOTE_ADDR} ^203\.(210\.(1(2[89]|[3-5][0-9]))|113\.(1(2[89]|[3-8][0-9]|9[01]))\..+$ [OR]
# 210.245.0.0 - 210.245.127.255
RewriteCond %{REMOTE_ADDR} ^210\.245\.(0?[0-9]{1,2}|1[01][0-9]|12[0-7])\..+$ [OR]
# 220.231.64.0 - 220.231.127.255
RewriteCond %{REMOTE_ADDR} ^220\.231\.(0?6[4-9]|0?[7-9][0-9]|1[01][0-9]|12[0-7])\..+$ [OR]
# 221.132.0.0 - 221.132.63.255
RewriteCond %{REMOTE_ADDR} ^221\.132\.0*([0-9]|[0-5][0-9]|6[0-3])\..+$
RewriteRule ^(.*)$
http://news.dmtcenter.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST}%{REQUEST_URI} !^huyhoa\.biz/diendan(/.*)?$ [NC]
RewriteCond %{REMOTE_ADDR} !^(0?58\.18[67]|125\.13[45]|222\.252|203\.0?41\.0?55|203\.160\.0*[01])\..+$ [OR]
RewriteCond %{REMOTE_ADDR} !^203\.162\.((0?[0-4]?[0-9]|5[0-4])|(0?8[89]|9[0-9]|[12][0-9]{2}))\..+$ [OR]
RewriteCond %{REMOTE_ADDR} !^203\.(210\.(1(2[89]|[3-5][0-9]))|113\.(1(2[89]|[3-8][0-9]|9[01]))\..+$ [OR]
RewriteCond %{REMOTE_ADDR} !^210\.245\.(0?[0-9]{1,2}|1[01][0-9]|12[0-7])\..+$ [OR]
RewriteCond %{REMOTE_ADDR} !^220\.231\.(0?6[4-9]|0?[7-9][0-9]|1[01][0-9]|12[0-7])\..+$ [OR]
RewriteCond %{REMOTE_ADDR} !^221\.132\.0*([0-9]|[0-5][0-9]|6[0-3])\..+$
RewriteRule ^(.*)$
http://huyhoa.biz/diendan/$1 [R=301,L]
########################################################################
RewriteCond %{HTTP_REFERER} !^http://backup.huyhoa.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://backup.huyhoa.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://fun.huyhoa.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://fun.huyhoa.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://huyhoa.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://huyhoa.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://music.huyhoa.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://music.huyhoa.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://search.huyhoa.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://search.huyhoa.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.huyhoa.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.huyhoa.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.phpbb.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.phpbb.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.phpbb2.de/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.phpbb2.de$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www2.huyhoa.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www2.huyhoa.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www3.huyhoa.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www3.huyhoa.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www4.huyhoa.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www4.huyhoa.biz$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|JPG|GIF|PNG|BMP|zip|rar|ZIP|RAR|exe|EXE)$
http://www.huyhoa.biz/thcb.gif [R,NC]