Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:config:vhost-level_bw_throttling [2016/07/25 13:27] Long Hu [Configuraton] |
litespeed_wiki:config:vhost-level_bw_throttling [2019/06/05 19:45] (current) Lisa Clarke [VhostBandwidthLimit] Proofreading |
||
---|---|---|---|
Line 10: | Line 10: | ||
===== Directives ===== | ===== Directives ===== | ||
+ | |||
+ | ==== VhostBandwidthLimit ==== | ||
+ | |||
+ | Syntax: | ||
+ | |||
+ | VhostBandwidthLimit [Speed in bytes/s] | ||
+ | |||
+ | The ''VhostBandwidthLimit'' directive controls the amount of bandwidth allotted to a virtual host regardless of the number of concurrent visitors. It can only be set at the virtual host level in the Apache configuration file or through Apache-style config in native LSWS configuration. | ||
+ | |||
+ | It takes 1 parameter: | ||
+ | |||
+ | * ''Speed'' indicates the total speed available to the virtual host. If ''Speed'' is less than ''4097'', there is no limit. | ||
==== BandWidth ==== | ==== BandWidth ==== | ||
Line 43: | Line 55: | ||
* ''Speed'' indicates the maximum speed at which these files can be served. | * ''Speed'' indicates the maximum speed at which these files can be served. | ||
+ | ==== MaxConnPerClient ==== | ||
+ | |||
+ | Syntax: | ||
+ | |||
+ | MaxConnPerClient <limit_for_connections> | ||
+ | |||
+ | The MaxConnPerClient directive allows you to configure the maximum concurrent connections from one IP. | ||
+ | * ''limit_for_connections'' set the connection limit. | ||
===== Examples ===== | ===== Examples ===== | ||