summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2003-12-17 20:10:41 +0000
committerjdolecek <jdolecek@pkgsrc.org>2003-12-17 20:10:41 +0000
commit98cd00ba4e07a1aacef18ae58c7cd92fed604012 (patch)
treec7fbeafea25e63329a0e5b66b1e9e1105e9c4e31 /www
parent7d8ea7642d323c8712553b7f586a5d2a3a32e41a (diff)
downloadpkgsrc-98cd00ba4e07a1aacef18ae58c7cd92fed604012.tar.gz
update MESSAGE with instructions for Apache 2.x, which needs AddHandler
rather than AddType problem reported in pkg/23536 by Makoto Fujiwara
Diffstat (limited to 'www')
-rw-r--r--www/ap-php4/MESSAGE13
1 files changed, 11 insertions, 2 deletions
diff --git a/www/ap-php4/MESSAGE b/www/ap-php4/MESSAGE
index 69b976ad1a0..984ba5a552a 100644
--- a/www/ap-php4/MESSAGE
+++ b/www/ap-php4/MESSAGE
@@ -1,7 +1,7 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.3 2002/08/26 00:12:51 grant Exp $
+$NetBSD: MESSAGE,v 1.4 2003/12/17 20:10:41 jdolecek Exp $
-In order to use this module in your Apache installation, you need to
+In order to use this module in your Apache 1.x installation, you need to
add the following to your httpd.conf file:
LoadModule php4_module lib/httpd/mod_php4.so
@@ -11,4 +11,13 @@ You may also add following if you still use .php3 files:
AddType application/x-httpd-php .php3
+For Apache 2.x installation, you need following:
+
+ LoadModule php4_module lib/httpd/mod_php4.so
+ AddHandler application/x-httpd-php .php
+
+You may also add following if you still use .php3 files:
+
+ AddHandler application/x-httpd-php .php3
+
===========================================================================