pkgsrc/www/ap-perl/MESSAGE

20 lines
751 B
Text
Raw Normal View History

===========================================================================
$NetBSD: MESSAGE,v 1.3 2002/09/24 12:30:44 wiz Exp $
In order to use this module in your Apache installation, you need to
add the following to your httpd.conf file:
LoadModule perl_module lib/httpd/mod_perl.so
<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.
===========================================================================