网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   服务器环境搭建 (https://www.0058.net/forumdisplay.php?f=5)
-   -   .htaccess to ban an IP range (https://www.0058.net/showthread.php?t=1651)

topvip 2006-12-05 11:35 PM

.htaccess to ban an IP range
 
# Block Chello (Amsterdam)
SetEnvIf Remote_Addr "^62.194.[0..83].*$" block
SetEnvIf Remote_Addr "^24.132.226.*$" block
deny from env=block

or

Deny from 62.194.0.0/18
Deny from 62.194.64.0/20
Deny from 62.194.80.0/22


All times are GMT +8. The time now is 10:28 AM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.