MaxConnectionsPerHost

<h1> MaxConnectionsPerHost</h1>

 

<h2>Name</h2>

MaxConnectionsPerHost -- Limits the unauthenticated connections per client machine

 

<h2>Synopsis</h2>

MaxConnectionsPerHost [ <code class="OPTION">MaxConnectionsPerHost number|none [message]</code>]

 

Default

</dt><dd>

MaxConnectionsPerHost none

</dd><dt>

Context

</dt><dd>

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

</dd><dt>

Module

</dt><dd>

mod_auth

</dd><dt>

Compatibility

</dt><dd>

1.2.11rc1 and later

</dd></dl>

 

<h2>Description</h2>

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.

 

<h2>See also</h2>

MaxClients, MaxClientsPerHost, MaxHostsPerUser

 

<h2>Examples</h2>

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