This is the module for Apache Web Server to restrict the number of simultaneous connections per a virtual host. It's useful if you provide a service with the virtual hosts.
Current version is 0.1.
Presuming you are using apache 1.3.x, adding in a third-party module is fairly straightforward.
# tar -xf apache_<version>.tar.gz # tar -xf mod_vhost_limit.tar.gz # cd apache_<version> # ./configure --add-module=../mod_vhost_limit.c --enable-shared=vhost_limit ... # make # make install Write in your httpd.conf: LoadModule vhost_limit_module libexec/mod_vhost_limit.so AddModule mod_vhost_limit.c
Syntax: MaxConnPerVhost number
Context: Server
Override: None
Status: Third Party
Module: mod_vhost_limit
Compatibility: Apache 1.3.5 and above.
The MaxConnPerVhost directive affects how many connections can be allowed to use per a virtual host.
Example:
MaxConnPerVhost 100
simultaneous 100 connections are allowed per a virtual host. If the request was coming over this limit, apache will only send a 503 (Temporary Unavailable) message.
Takato Satsuma
$Author: takato $
$Date: 2002/07/11 15:21:56 $
$Id: index.html,v 1.1.1.1 2002/07/11 15:21:56 takato Exp $