问,关于apache的限制线程和速度的问题!

由 leijinying 在 04-17-2004 22:04 发表:

问,关于apache的限制线程和速度的问题!

限制线程的,我看了看好像这个mod_limitipconn

 1<ifmodule mod_limitipconn.c="">
 2<location somewhere="">   
 3  
 4MaxConnPerIP 3   
 5  
 6# exempting images from the connection limit is often a good   
 7  
 8# idea if your web page has lots of inline images, since these   
 9  
10# pages often generate a flurry of concurrent image requests   
11  
12NoIPLimit image/*   
13  
14</location>
15<location mp3="">   
16  
17MaxConnPerIP 1   
18  
19# In this case, all MIME types other than audio/mpeg and video*   
20  
21# are exempt from the limit check   
22  
23OnlyIPLimit audio/mpeg video   
24  
25</location>   
26  
27l</ifmodule>
Published At
Categories with 服务器类
comments powered by Disqus