summaryrefslogtreecommitdiff
path: root/www/ap-perl/MESSAGE
diff options
context:
space:
mode:
Diffstat (limited to 'www/ap-perl/MESSAGE')
-rw-r--r--www/ap-perl/MESSAGE20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/ap-perl/MESSAGE b/www/ap-perl/MESSAGE
new file mode 100644
index 00000000000..4565ac8b5a7
--- /dev/null
+++ b/www/ap-perl/MESSAGE
@@ -0,0 +1,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.
+
+=============================================================================