diff options
author | jdolecek <jdolecek> | 2003-12-17 20:10:41 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2003-12-17 20:10:41 +0000 |
commit | 6dd996cfff8016b3b7235ede633533cdede65119 (patch) | |
tree | c7fbeafea25e63329a0e5b66b1e9e1105e9c4e31 /www | |
parent | a337d42ee00a6cbd1d89dc59f5708e2255d6e227 (diff) | |
download | pkgsrc-6dd996cfff8016b3b7235ede633533cdede65119.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/MESSAGE | 13 |
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 + =========================================================================== |