diff options
Diffstat (limited to 'net-www/mod_limitipconn/files')
-rw-r--r-- | net-www/mod_limitipconn/files/27_mod_limitipconn.conf | 21 | ||||
-rw-r--r-- | net-www/mod_limitipconn/files/digest-mod_limitipconn-0.22-r1 | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/net-www/mod_limitipconn/files/27_mod_limitipconn.conf b/net-www/mod_limitipconn/files/27_mod_limitipconn.conf new file mode 100644 index 000000000000..a4ae72b69f9d --- /dev/null +++ b/net-www/mod_limitipconn/files/27_mod_limitipconn.conf @@ -0,0 +1,21 @@ +<IfDefine LIMITIP> + <IfModule !mod_watch.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> diff --git a/net-www/mod_limitipconn/files/digest-mod_limitipconn-0.22-r1 b/net-www/mod_limitipconn/files/digest-mod_limitipconn-0.22-r1 new file mode 100644 index 000000000000..94d28ffea961 --- /dev/null +++ b/net-www/mod_limitipconn/files/digest-mod_limitipconn-0.22-r1 @@ -0,0 +1 @@ +MD5 0f4beb9eb4e7b815ca472ccfe11451b3 mod_limitipconn-0.22.tar.gz 6333 |