summaryrefslogtreecommitdiff
path: root/www/ap-perl
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-09-18 20:51:52 +0000
committerhubertf <hubertf>2001-09-18 20:51:52 +0000
commit058d6a2429967510c921a121e046015dd4d4cef1 (patch)
tree557b5ef538377190a983d5ae84f8f34cf3cbe1d7 /www/ap-perl
parente96cfd0d1f4466d99346bac667d60391a3c9f219 (diff)
downloadpkgsrc-058d6a2429967510c921a121e046015dd4d4cef1.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