On 10/30/2012 05:32 AM, Youssef Eldakar wrote:
Looking to implement an "On GET <regex>, execute external command" scenario. What would be the recommended approach? Is it possible to define sort of a log event handler in Apache? Or is a standalone daemon to periodically poll the access log the best answer?

Thank you for any suggestions.

Youssef Eldakar
Bibliotheca Alexandrina


fail2ban will do what you want.

It's typically used to add firewall rules based on logged events, but could easily be configured to do whatever you want.

Terry



--


Terry Carmen
CNY Support, LLC
http://cnysupport.com
Web. Database. Business.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to