blob: 049dc7e48ebdf68b9a0087a6cd5e05d24f5bd3dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<IfDefine LIMITIPCONN>
<IfModule !mod_limitipconn.c>
LoadModule limitipconn_module modules/mod_limitipconn.so
</IfModule>
</IfDefine>
<IfModule mod_limitipconn.c>
<Location /somewhere>
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/*
</Location>
<Location /mp3>
MaxConnPerIP 1
# In this case, all MIME types other than audio/mpeg and video*
# are exempt from the limit check
OnlyIPLimit audio/mpeg video
</Location>
</IfModule>
|