Feature #2199
closed[mod_evasive] redirect if maximum connections exceeded
Description
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.
Files
Updated by crypt over 14 years ago
- File mod_evasive.patch mod_evasive.patch added
- % Done changed from 0 to 100
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 14 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 ;) )
Updated by BennyBorn over 14 years ago
- % Done changed from 100 to 50
Hm I just applied the path and set evasive.location in my config but I'm still getting a 403 error instead of 302...
Updated by gstrauss over 8 years ago
- Category set to mod_evasive
- Target version set to 1.4.41
Updated by gstrauss over 8 years ago
- Status changed from New to Patch Pending
- Target version changed from 1.4.41 to 1.4.40
Updated by gstrauss over 8 years ago
- Status changed from Patch Pending to Fixed
- % Done changed from 50 to 100
Applied in changeset 0cd7f2dda83138174527f0c96a15bb9f4c5b7830.
Also available in: Atom