If it doesn't use mod_perl, what *does* it do? Display the source?
Give a 404?
Perhpas you need to do "Alias /perl /var/www/perl" , with a slash.
Officially, I loathe Apache configuration, so I often try to stay
ignorant of its intricacies. =)
[EMAIL PROTECTED] (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.
>
------------------- -------------------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED] The Math Forum