Saju Pillai <[EMAIL PROTECTED]>

>   I am having some trouble trying to get mod_perl
> handle only .pl files from cgi-bin. mp2 wants to
> handle all the files in cgi-bin
> 
> My relevant config is ...
> 
> <IfModule mod_alias.c>
>   <IfModule mod_perl.c>
>        Alias /perl/ "/home/srp/ap2/cgi-bin/"
>        PerlOptions -SetupEnv
>        PerlModule ModPerl::Registry
>        <Location /perl>
>              PerlSetEnv PERL5LIB
> "/home/srp/perl/lib/5.8.3"


>               SetHandler perl-script
I think this line is the culprit. It tells apache that everything there should
be handled as a perl-script

>               AddHandler perl-script .pl

This one tells it to just handle the .pl's
>               PerlResponseHandler ModPerl::Registry
>               Options +ExecCGI
>         </Location>
>    </IfModule>
> </IfModule>

Michael Peters
PlusThree

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to