I want to limit the number of client allowed on my apache httpd server (mpm_prefork).
When the number of client is reached, I want to display a custom error message such as "Error 503 : Too many connections".
The customisation is possible using :
ErrorDocument 503 "Sorry, too many connexions."
The apache httpd configuration "MaxClients" queue all the clients (until the ListenBackLog is reached) instead of returning en error message.
=> How is possible to raise an error 503 when the number of client is reached ?