Apache Haus Distribution of mod_limitipconn/0.24 x64

Read Me File for the Apache Haus Distribution of mod_limitipconn 0.24 x64
Date: January 27, 2016
Application: mod_limitipconn 0.24 x64
Distribution File: mod_limitipconn-0.24-2.4.x-x64-vc14.zip
Original source by: Apache Software Foundation
Original Home: http://httpd.apache.org/mod_fcgid/
   
Win32 binary by: The Apache Haus
Mail: info@apachehaus.com
Home: http://www.apachehaus.com
   
** This build for x64 Apache 2.4.x VC14 only! **
Supported Windows Versions:
   
Windows Vista x64
Windows Server 2008 x64
Windows 7 x64
Windows Server 2012 x64 Tested OK
Windows 8 x64 Should Work

Package Contents:

readme_first.html [this file]
ChangeLog
LICENSE
README (original file with more info)
mod_limitipconn.so


NOTES:

This module has an included official patch to add a LocalIP directive to exempt a designated IP address from connection limits.
http://dominia.org/djao/limit/contrib/dg/mod_limitipconn_local_IP_patch_2.diff

Modules built on Visual C++ 2015 (VC14) do not run on Windows XP or Windows Server 2003

Built with Visual Studio 2015 x64, be sure to install the latest Visual C++ 2015 x64 Redistributable Package
it can be downloaded from;

https://www.microsoft.com/en-us/download/details.aspx?id=48145

Note: x64 Windows users should install both x86 & x64 redistributables

INTRODUCTION

This is an Apache 2.4 C module whose purpose is to limit the maximum number of simultaneous connections per IP address. The module allows inclusion and exclusion of files based on MIME type.


INSTALL

To install this module on your Apache 2.4.x server you need to copy the necessary files to your Apache folder and add items to your Apache's httpd.conf file. C:\Apache24 will be used as our ServerRoot for the examples below.

1. Install the Visual C++ 2015 Redistributable Package
    Download, if you have not done so already, from the
    address above.

2. Copy mod_limitipconn.so to your Apache 2.4.x modules folder
    C:/Apache24/modules/mod_limitipconn.so for example

3. Add to your httpd.conf (example: C:/Apache24/conf/httpd.conf):

    ExtendedStatus On
    LoadModule limitipconn_module modules/mod_limitipconn.so


4. Add to your httpd.conf file near the bottom with the other included files the module configuration, see sample below



Sample mod_limitipconn Configuration:

<IfModule mod_limitipconn.c> # Set a server-wide limit of 10 simultaneous downloads per IP, # no matter what. MaxConnPerIP 10 <Location /somewhere> # This section affects all files under http://your.server/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/* # exclude local IP addresses from limits LocalIP 127.0.0.1 192.168.1.100 </Location> <Directory /home/*/public_html> # This section affects all files under /home/*/public_html MaxConnPerIP 1 # In this case, all MIME types other than audio/mpeg and video* # are exempt from the limit check OnlyIPLimit audio/mpeg video </Directory> </IfModule>