blob: 0c3f9d7ed4ae3084468e12847ff385dfb7860a96 [file] [log] [blame]
<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