[mod_evasive] redirect if maximum connections exceeded
Hi, I'd really appreciate if you build in a feature to redirect to a specific page if the connection limit in evasive.max-conns-per-ip is reached.
I used mod_cband on Apache to do that to show my users a specific error page if they were trying to download multiple files at the same time from my download server - this would be very useful.
Updated by crypt over 9 years ago
I'm really unsure, if such a redirect is the task of mod_evasive. This module is about banning IP's if too many requests appear in a certain time window. Anyway, your requested feature is really simple and was added in less than 5minutes. The patch adds the ability to redirect to an URL using evasive.location. I hope that helps.
Updated by BennyBorn over 9 years ago
I'm really unsure, if such a redirect is the task of mod_evasive. This module is about banning IP's if too many requests appear in a certain time window.
You're right but somehow the user needs to be able to catch this thrown 403 error as long as the end-users don't know if they did something wrong and why they're gettings
this error page - thanx for the patch that really helps me (and hopefully some other users too ;) )
Also available in: Atom