[SGVLUG] Apache + Perl configuration

Dustin laurence at alice.caltech.edu
Fri Jul 15 22:16:14 PDT 2005


On Fri, 15 Jul 2005, Michael Proctor-Smith wrote:

> My Guess would be to check if the file type is set to be passed to mod_perl,
> I only have apache 2 conf files handy is Sarge running apache 2.

Sarge has both, I'm running apache 2.

> On RedHat systems they have conf.d/perl.conf check that or include it
> in you httpd.conf
> 
> <Files *.pl>
>     SetHandler perl-script
> </Files>

I have this directive in the sgvlug virtual host section:

<Files ~ "index\.pl$">
    SetHandler perl-script
    PerlHandler ModPerl::Registry
</Files>

which I got from the (not very good) online docs.

Dustin



More information about the SGVLUG mailing list