Project

General

Profile

Actions

Feature #2199

closed

[mod_evasive] redirect if maximum connections exceeded

Added by BennyBorn over 14 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_evasive
Target version:
ASK QUESTIONS IN Forums:

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

mod_evasive.patch (2.02 KB) mod_evasive.patch crypt, 2010-07-15 09:05
Actions #1

Updated by crypt 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. 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.

Actions #2

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 ;) )

Actions #3

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...

Actions #4

Updated by gstrauss over 8 years ago

  • Category set to mod_evasive
  • Target version set to 1.4.41
Actions #5

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
Actions #6

Updated by gstrauss over 8 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 50 to 100
Actions

Also available in: Atom