Ticket #1563 (closed enhancement: worksforme)
Block user based on conditions
| Reported by: | wlynch@… | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | wlynch@… | Blocked By: | |
| Need User Feedback: | Blocking: |
Description
What I'd like to be able to do, is if a user access my site, and meets a certain set of conditions, that they are then blocked for x minutes.
Specifically, I'd like to be able to say that if a user's referrer matches a certain regexp, that url.acces-deny = ("") be applied to them by ip for an hour.
Something like...
$HTTP["referer"] =~ "^http://bad\.site" {
remember 60 url.access-deny = ( "" )
}
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

