Maybe:

<Files ~ "\.pl$">
...
</Files>

I think there's some documentation on this issue as well.

--Jeff


On Sun, 18 Feb 2001, Rich Feather wrote:

> I'm trying to get my Apache Web Server to read *.pl files using mod_perl
> (standard Linux-Mandrake 7.2).  Under perl, it works fine and, indeed, in
> httpd-perl.conf, it shows
>
>         Alias perl /var/www/perl
>         <Directory /var/www/perl>
>                 SetHandler perl-script
>                 PerlHandler Apache::Registry
>                 PerlSendHeader On
>                 Options ExecCGI -Indexes
>         </Directory>
>
> Also, I've tried up the following
>
>         <Directory /var/www/html>
>                 SetHandler perl-script
>                 PerlHandler Apache::Registry
>                 PerlSendHeader On
>                 Options ExecCGI -Indexes
>         </Directory>
>
> and/or
>
>         <Files *.pl>
>                 SetHandler perl-script
>                 PerlHandler Apache::Registry
>                 Options ExecCGI
>         </Files>
>
> Restarted after each change
>         /etc/rc.d/init.d/httpd restart
>
> ...but I cannot get the server to parse *.pl files using mod_perl.
>
> Any ideas?
>
> Thanks.
>

--
Jeff Beard
_______________________________________
Web:            www.cyberxape.com
Email:          jeff at cyberxape dot com
Earth:          Boulder, CO, USA

Reply via email to