Ban Plugin

Tuesday, October 14 2003 @ 08:58 AM EDT

Contributed by: tomw

I have created a new plugin that allows you to ban people and web bots. It allows you great flexibility in that you can ban by IP or Referer or the HTTP_USER_AGENT or the page name. All the bans use regular expressions allowing for even greater flexibility. I have included several examples to make it easier.

You may ask why you would want to ban a webbot. I ban them for several reasons 1) abuse of resources 2) idealogical differences e.g. Name Protect, or Cyveillance 3) privacy (email harvesters).

I have also included a little bonus. I put the log for the ban plugin in the normal geeklog logs directory and made a simple log viewer that will allow you to view the access, error, or ban logs.

Oh yeah you can get this plugin at the Gplugs SF Site.

Enjoy
Tom

0 comments



http://gplugs.pigstye.net/article.php/20031014085835685