近期发现BLOG上面推荐的音乐被狂盗链,每天的流量有60%都是在抓mp3,查了这些IP,大部分是论坛转贴我收集的音乐,然后提供URL下载。服务器已经是1024+256 memory,现在free -m查看所剩余内存可怜很,swap还使用了近200M。各位朋友别怪我吝啬了,只能限制IP并发连接数,但不会影响与你们一起分享音乐

<VirtualHost *:80>
   ServerAdmin wardking.china@gmail.com
   DocumentRoot /home/www_host/honing
   ServerName www.wardking.com
   ServerAlias wardking.com
   ErrorDocument 404 /err/err404.html
   ErrorLog logs/wardking_error_log
   CustomLog logs/wardking_access_log common
   <Location />
       MaxConnPerIP 3
       OnlyIPLimit audio/mpeg video
    </Location>
</VirtualHost>
Extra Info
This entry comes from 本站原创.It has been read for 2864 times.You may Leave a comment or 引用(0) this entry.
2 Responses
12/23/2007 09:56
你的站也一起限了cool
12/21/2007 22:04
做的好.
分页: 1/1 第一页 1 最后页
发表评论
昵称

网址

电邮

打开HTML 打开UBB 表情 打开表情 隐藏 记住我 [注册]