Home : mod_limitipconn.c : mod_limitipconn.c - Apache 2.0 port

mod_limitipconn.c - Apache 2.0 port

I have ported the original mod_limitipconn module to Apache 2.0. The Apache 2.0 port includes all the features of the Apache 1.3 version, including proxy tracking and MIME type inclusion/exclusion.

Downloads

Installation

The instructions below are written for Apache 2.0.39 since that's what I had when I wrote the module, but they will also work with any later version of Apache 2.0.

Instructions for statically compiling mod_limitipconn into httpd:

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

tar xzvf mod_limitipconn-0.22.tar.gz
cd mod_limitipconn-0.22
make install
Instructions for building static httpd with proxy tracking:

tar xzvf httpd-2.0.39.tar.gz
tar xzvf mod_limitipconn-0.22.tar.gz
cd httpd-2.0.39
patch -p1 < ../mod_limitipconn-0.22/apachesrc.diff
./buildconf
./configure --enable-forward --with-module=aaa:../mod_limitipconn-0.22/mod_limitipconn.c
make
make install
Instructions for building DSO with proxy tracking:

tar xzvf httpd-2.0.39.tar.gz
tar xzvf mod_limitipconn-0.22.tar.gz
cd httpd-2.0.39
patch -p1 < ../mod_limitipconn-0.22/apachesrc.diff
./buildconf
./configure --enable-forward
make
make install
cd ../mod_limitipconn-0.22
PATH=/usr/local/apache2/bin:$PATH make install

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