summaryrefslogtreecommitdiff
blob: 0c3f9d7ed4ae3084468e12847ff385dfb7860a96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<IfDefine LIMITIPCONN>
LoadModule limitipconn_module modules/mod_limitipconn.so

<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>
</IfDefine>

# vim: ts=4 filetype=apache