pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ap-php4 update MESSAGE with instructions for Apach...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9fc5d28100f8
branches: trunk
changeset: 464918:9fc5d28100f8
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Wed Dec 17 20:10:41 2003 +0000
description:
update MESSAGE with instructions for Apache 2.x, which needs AddHandler
rather than AddType
problem reported in pkg/23536 by Makoto Fujiwara
diffstat:
www/ap-php4/MESSAGE | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 8237ef524eae -r 9fc5d28100f8 www/ap-php4/MESSAGE
--- a/www/ap-php4/MESSAGE Wed Dec 17 20:02:54 2003 +0000
+++ b/www/ap-php4/MESSAGE Wed Dec 17 20:10:41 2003 +0000
@@ -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 @@
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
+
===========================================================================
Home |
Main Index |
Thread Index |
Old Index