This is the compilation environment of David's mod_limitipconn

Usage:
1. Open mod_ipconn.dsw using Visual C++ 
2. Setup the Project Settings to link "Apache2\lib\libhttpd.lib", 
"Apache2\lib\libapr.lib" 
3. Add "Apache2\include" in your include files Directories.
4. Compile. You'll get mod_limitipconn.dll in Release folder.
5. Copy mod_limitipconn.dll to Apache2\modules folder
6. Setup httpd.conf 
Example configuration:

---------------------------------------------------------------------------
#Make sure mod_status is loaded  
ExtendedStatus On

# Only needed if the module is compiled as a DSO
LoadModule limitipconn_module modules\mod_limitipconn.dll

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

---------------------------------------------------------------------------

This module can run in Windows NT4.0 + Apache2.0
Please refer to README.David for original manual, and visit
http://dominia.org/djao/limitipconn.html for more info about this module.

 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 * DEALINGS IN THE SOFTWARE.

Ben
ben@fadshop.net
