mod_slotlimit module questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I downloaded the source and compiled it. When I read Readme It's
little confusing to me. My questions are:

AvailableSlotsPercent - does it mean that upto 13 LimitSite can be allocated?
LimitSite - does it mean that the site running within the apache
itself or the external site trying to access apache server?
ClientIpLimit - What's the difference between LimitSiteConnections vs
ClientIpLimit?

Below is the output from readme:

<IfModule mod_slotlimit.c>

AvailableSlotsPercent 13

MaxConnectionsPerSite 40

LimitSite www.BadSite.xxx
LimitSiteConnections 25

ClientIpLimit 15

ForceVhostName On

</IfModule>

-------------------------
   Directives
-------------------------

AvailableSlotsPercent
    Syntax:   AvailableSlotsPercent number
    Default:  13

    Percentage of apache slots available in order to set any restrictions.
    Setting it to 0 dynamic slot allocation algorithm will be deactivated.

MaxConnectionsPerSite
    Syntax:   MaxConnectionsPerSite number
    Default:  No Limit

    Max connections for each running site

LimitSite
    Syntax:   LimitSite site's name
    Default:

    Specific site to limit (You can limit differently only one site).
    Setting this directive you must configure LimitSiteConnections or
    default value (20) will be used.

LimitSiteConnections
    Syntax:   LimitSiteConnections number
    Default:  20

    Max connections for "LimitSite"

ClientIpLimit
    Syntax:   ClientIpLimit number
    Default:  No Limit

    Number of maximum simultaneous connection per IP to the web server.

ForceVhostName
    Syntax:   ForceVhostName On|Off
    Default:  Off

    Force vhost hostname in scoreboard. Vhost hostname do not match site
    visited under some conditions, for example if you're using mod_vhost_alias.
    Setting this directive to On, mod_slotlimit will overwrite vhost hostname
    in apache scoreboard.

CustomErrMsg

    Syntax:   CustomErrMsg "My custom error message"
    Default:  "Blocked by mod_slotlimit. More information about this
error may be available in the server error log."

    A custom error message that allows you to replace default error
message with one you create

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux