# Original source by: David Jao <djao@dominia.org>
# Original Home: http://dominia.org/djao/limitipconn2.html
# Win32 port by: Guenter Knauf <info@gknw.de>
# Home: http://www.gknw.de/development/apache/
# MicroApache version by M Shaw - April 2006
# MicroApache: http://microapache.amadis.sytes.net
#
# The following is only for a quick setup! 
#
# Add to your httpd.conf
ExtendedStatus On
#LoadModule limitipconn_module modules/mod_limitipconn.so
#MicroApache version
LoadModule limitipconn_module modules/mod_limitipconn.dll
#AddModule mod_limitipconn.c
#
# Configuration for mod_limitipconn
<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>
# End of mod_limitipconn.
# Optional supress logging of denied access
CustomLog logs/access_log common env=!LIMITIP
