开发者

How to limit number of connections per vhost in apache2?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜