blob: 461ca2d7143caeff70a9d304509a1516ba6c527a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
=============================================================================
$NetBSD: MESSAGE,v 1.5 2001/09/18 20:51:52 hubertf 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.
=============================================================================
|