PHP-IDS, Web Application Firewall for PHP:
http://php-ids.org/
Perl Port of PHP-IDS (in CPAN):
http://search.cpan.org/~hinnerk/CGI-IDS/lib/CGI/IDS.pm
Django-IDS, Web Application Firewall for the Python Based Django Web Development Environment:
http://code.google.com/p/django-ids/
All three share the same set of rules.