From 98cd00ba4e07a1aacef18ae58c7cd92fed604012 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Wed, 17 Dec 2003 20:10:41 +0000 Subject: update MESSAGE with instructions for Apache 2.x, which needs AddHandler rather than AddType problem reported in pkg/23536 by Makoto Fujiwara --- www/ap-php4/MESSAGE | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'www') 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 + =========================================================================== -- cgit v1.2.3