http://bbs.chinaunix.net/viewthread.php?tid=3129
下载mod_limitipconn.c
http://dominia.org/djao/limitipconn.html
修改httpd.conf
LoadModule limitipconn_module modules/mod_limitipconn.so

ExtendedStatus On


    
	MaxConnPerIP 3
	# exempting images from the connection limit is often a good
	# idea if your web page has lots of inline images, since these
	# pages often generate a flurry of concurrent image requests
	NoIPLimit image/*
    
#需要注意的是,路径应该是相对服务器的路径。
    
	MaxConnPerIP 1
	# In this case, all MIME types other than audio/mpeg and video*
	# are exempt from the limit check
	OnlyIPLimit audio/mpeg video