summaryrefslogtreecommitdiff
path: root/www/ap-perl
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-09-18 20:51:52 +0000
committerhubertf <hubertf@pkgsrc.org>2001-09-18 20:51:52 +0000
commit928c1cbc94546294d22702f3d32f6b191eed4292 (patch)
tree557b5ef538377190a983d5ae84f8f34cf3cbe1d7 /www/ap-perl
parentf38aa4ec860c2503d7abe9c6d6f468624027a5e6 (diff)
downloadpkgsrc-928c1cbc94546294d22702f3d32f6b191eed4292.tar.gz
add a bit more lines that are needed in httpd.conf to get this mod going.
Sent in by Sean Davis <dive@endersgame.net> in private mail.
Diffstat (limited to 'www/ap-perl')
-rw-r--r--www/ap-perl/pkg/MESSAGE8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/ap-perl/pkg/MESSAGE b/www/ap-perl/pkg/MESSAGE
index 218eb63b00d..461ca2d7143 100644
--- a/www/ap-perl/pkg/MESSAGE
+++ b/www/ap-perl/pkg/MESSAGE
@@ -1,11 +1,17 @@
=============================================================================
-$NetBSD: MESSAGE,v 1.4 1999/05/04 20:16:37 tv Exp $
+$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