SetEnvIfNoCase User-Agent "^baiduspider" ban
SetEnvIfNoCase User-Agent "Yahoo! Slurp China" ban
SetEnvIfNoCase User-Agent "^Sogou*" ban
SetEnvIfNoCase User-Agent "^YodaoBot*" ban
SetEnvIfNoCase User-Agent "^Twiceler" ban
SetEnvIfNoCase Referer "^baidu*" ban
SetEnvIfNoCase Referer "yahoo\.com\.cn" ban
SetEnvIfNoCase Referer "^http:\/\/image\.soso\.com" ban
SetEnvIfNoCase Referer "^http:\/\/www\.soso\.com" ban
SetEnvIfNoCase Referer "^http:\/\/image\.yodao\.com" ban
SetEnvIfNoCase Remote_Addr ^58.61.164.* ban
SetEnvIfNoCase Remote_Addr ^203.209.240.* ban
SetEnvIfNoCase Remote_Addr ^124.115.0.* ban
SetEnvIfNoCase Remote_Addr ^220.181.19.* ban
SetEnvIfNoCase Remote_Addr ^121.14.76.* ban
SetEnvIfNoCase Remote_Addr ^61.135.219.* ban
SetEnvIfNoCase Remote_Addr ^38.99.44.* ban
#
<Directory />
Options FollowSymLinks
AllowOverride None
deny from env=ban
</Directory>
###阻擋後門程式機器人 add by aher
SetEnvIfNoCase User-Agent "^libwww-perl*" block_bad_bots
#
<Directory />
Options FollowSymLinks
Deny from env=block_bad_bots
AllowOverride None
</Directory>
#############################################################
291 SetEnvIfNoCase User-Agent "^baiduspider" ban
292 SetEnvIfNoCase User-Agent "Yahoo! Slurp China" ban
293 SetEnvIfNoCase User-Agent "^Sogou*" ban
294 SetEnvIfNoCase User-Agent "^YodaoBot*" ban
295 SetEnvIfNoCase User-Agent "^Twiceler" ban
296 SetEnvIfNoCase Referer "^baidu*" ban
297 SetEnvIfNoCase Referer "yahoo\.com\.cn" ban
298 SetEnvIfNoCase Referer "^http:\/\/image\.soso\.com" ban
299 SetEnvIfNoCase Referer "^http:\/\/www\.soso\.com" ban
300 SetEnvIfNoCase Referer "^http:\/\/image\.yodao\.com" ban
301 SetEnvIfNoCase Remote_Addr ^58.61.164.* ban
302 SetEnvIfNoCase Remote_Addr ^203.209.240.* ban
303 SetEnvIfNoCase Remote_Addr ^124.115.0.* ban
304 SetEnvIfNoCase Remote_Addr ^220.181.19.* ban
305 SetEnvIfNoCase Remote_Addr ^121.14.76.* ban
306 SetEnvIfNoCase Remote_Addr ^61.135.219.* ban
307 SetEnvIfNoCase Remote_Addr ^38.99.44.* ban
308 #
309 <Directory />
310 Options FollowSymLinks
311 AllowOverride None
312 deny from env=ban
313 </Directory>
314 ###阻擋後門程式機器人 add by aher
315 SetEnvIfNoCase User-Agent "^libwww-perl*" block_bad_bots
316 #
317 <Directory />
318 Options FollowSymLinks
319 Deny from env=block_bad_bots
320 AllowOverride None
321 </Directory>
322 #
沒有留言:
張貼留言