PDA

View Full Version : How to limit numbers of connection from a client to web server?


duydq
31st May 2006, 12:56 AM
Hello!
How to limit number of connections from a client to websever? I want every client only to have 2 connections to server at the same time. If having number of connections is greater than 2 forbit that client access about 15 mins.

Please, help me. Sorry about my english :)

Jman
31st May 2006, 03:59 AM
Apache httpd? Two clients from the same IP, like with downloading tools?

MaxClients only deals with total clients, I don't know of one that limits per IP, for example.

JordanN
31st May 2006, 04:05 AM

Hello!
How to limit number of connections from a client to websever? I want every client only to have 2 connections to server at the same time. If having number of connections is greater than 2 forbit that client access about 15 mins.

Please, help me. Sorry about my english :)
What if it's a shared Internet connection, for example at a public library? Do you really want to make it so that only one person from that building would be able to access your site at once?