Home : mod_limitipconn.c : mod_limitipconn.c - Apache 2.x port

mod_limitipconn.c - Apache 2.x port

I have ported the original mod_limitipconn module to Apache 2.x. The most recent version has been tested on Apache 2.2 and should work on Apache 2.0.

Downloads

Installation

mod_limitipconn is available as a precompiled package for most major linux distributions. In Debian, it is available as apache2-mod-limitipconn, and under RedHat or Fedora pre-built packages are available from the ATrpms repository.

Manual installation

If you need to install mod_limitipconn manually, follow the instructions below. The instructions below are written for Apache 2.2.9 since that's what I have right now, but they will also work with any later version of Apache.

Instructions for statically compiling mod_limitipconn into httpd:

tar xzvf httpd-2.2.9.tar.gz
tar xjvf mod_limitipconn-0.23.tar.bz2
cd httpd-2.2.9
./configure --with-module=aaa:../mod_limitipconn-0.23/mod_limitipconn.c
make
make install
Instructions for building as a Dynamic Shared Object (DSO):

tar xjvf mod_limitipconn-0.23.tar.bz2
cd mod_limitipconn-0.23
make install

Contributed patches

Files
Contributor
Description
Anonymous Adds a LocalIP directive to exempt a designated IP address from download limits.

Copyright © 2002 David Jao (djao@dominia.org).