pkgsrc/www/ap-perl/MESSAGE

20 lines
781 B
Text

=============================================================================
$NetBSD: MESSAGE,v 1.1 2001/11/01 02:15:48 zuntum Exp $
In order to enable mod_perl in your Apache installation, you need to add
the following to your httpd.conf file:
LoadModule perl_module lib/httpd/mod_perl.so
AddModule mod_perl.c
<Files ~ "\.pl$">
PerlHandler Apache::Registry
PerlSendHeader On
SetHandler perl-script
Options +ExecCGI
</Files>
If switching to/from a server with and without mod_perl enabled, you
should NOT use "apachectl restart" - instead, fully stop and then start
the server. This prevents problems with libperl spinning on the CPU.
=============================================================================