summaryrefslogtreecommitdiff
path: root/www/ap-perl/MESSAGE
blob: 4565ac8b5a741bf1999a15f5019efbd83d47ce39 (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.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.

=============================================================================