-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

+++ cftri.org [linux-india] <27/09/01 16:41 +0530>:
> After adding the perl script in httpd.conf, I am still getting the error
> message:
 
> Entries related to enabling the mod_perl not found in the httpd.conf file.
> Can you tell me where I went wrong.

Where did you insert the lines?  It has to be where you define your site (in
the virtualhost section for example - or VirtualHost *

> <VirtualHost *>
>     ServerAdmin [EMAIL PROTECTED]
>     ServerName blackehlo.cluestick.org
> <Perl>
> {
>   package Apache::Vermicide;
>   use Apache::Constants qw(:common :response);
>   sub handler {
>     my $r = shift;
> 
>     if ($r->uri() =~ /root\.exe|cmd\.exe|default\.ida/i) {
>         $r->push_handlers(PerlLogHandler => sub { return BAD_REQUEST });
>         return BAD_REQUEST;
>     }
>     return DECLINED;
>   }
> }
> </Perl>
> PerlPostReadRequestHandler Apache::Vermicide
> </VirtualHost>


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7sw2bRB4r9e3t77kRAqzYAKCrQiDaHF6Tt92ga+Smun/ndo4PyQCfQpbs
sUVu0F4eeq2cXRWMqXPaKl8=
=ALGE
-----END PGP SIGNATURE-----

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to