MaxClientsPerUser

Name

MaxClientsPerUser -- Limit the number of connections per userid

Synopsis

MaxClientsPerUser [ MaxClientsPerUser number|none [message]]

Default

MaxClientsPerUser none

Context

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

Module

mod_auth

Compatibility

1.2.7rc1 and later

Description

The MaxClientsPerUser directive configures the maximum number of clients that may be connected at any given time using the same user name. 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 clients (%m) for this user already connected."

See also

MaxClients, MaxClientsPerHost MaxHostsPerUser

Examples

MaxClientsPerUser 1 "Only one such user at a time."
Results in: 530 Only one such user at a time.

Рейтинг@Mail.ru