开发者

How to limit number of connections per vhost in apache2?

开发者 https://www.devze.com 2023-03-19 14:34 出处:网络
Is there a way to limit nu开发者_JAVA百科mber of connections per vhost in apache2? MaxClients is global per apache instance. And I want to limit number of clients per vhost, so 1 specific vhost would

Is there a way to limit nu开发者_JAVA百科mber of connections per vhost in apache2?

MaxClients is global per apache instance. And I want to limit number of clients per vhost, so 1 specific vhost wouldn't be able to take all available connections.

Please advise. Thanks!


You can only do this with 3rd-party modules. For this you can use:

  • mod_bw (also known as 'bwmod' from http://bwmod.sourceforge.net)
  • mod_vhost_limit
  • mod_slotlimit (appears to be somewhat deprecated/abandoned)
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号