MaxConnectionsPerHost

Name

MaxConnectionsPerHost -- Limits the unauthenticated connections per client machine

Synopsis

MaxConnectionsPerHost [ MaxConnectionsPerHost number|none [message]]

Default

MaxConnectionsPerHost none

Context

server config, <Anonymous>, <VirtualHost>, <Global>

Module

mod_auth

Compatibility

1.2.11rc1 and later

Description

The MaxConnectionsPerHost directive configures the maximum number of unauthenticated clients allowed to connect per host. The optional argument message may be used which will be displayed to a client attempting to exceed the maximum value. If message is not supplied, a default message of "Sorry, the maximum number of connections (%m) from your host are already connected." is used.

See also

MaxClients, MaxClientsPerHost, MaxHostsPerUser

Examples

MaxConnectionsPerHost 1 "Sorry, you may not connect more than one time."
Results in: 530 Sorry, you may not connect more than one time.