From c6a5b5a11759fe2af68a2b5fe79f7b12e1535bd3 Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 8 Mar 2015 17:03:23 +0000 Subject: Change MESSAGE to adivise use of SetHandler with FilesMatch instead of AddHandler which cause potential security problem. --- www/ap-php/MESSAGE | 10 ++++------ www/ap-php/Makefile | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'www/ap-php') diff --git a/www/ap-php/MESSAGE b/www/ap-php/MESSAGE index fee7be540fd..0ba64fdeeda 100644 --- a/www/ap-php/MESSAGE +++ b/www/ap-php/MESSAGE @@ -1,14 +1,12 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.4 2014/07/31 06:11:53 obache Exp $ +$NetBSD: MESSAGE,v 1.5 2015/03/08 17:03:23 taca Exp $ In order to use this module in your Apache 2.x installation, you need to add the following to your httpd.conf file: LoadModule php${PKG_PHP_MAJOR_VERS}_module lib/httpd/mod_php${PKG_PHP_MAJOR_VERS}.so - AddHandler application/x-httpd-php .php - -You may also add following if you still use .php3 files: - - AddHandler application/x-httpd-php .php3 + + SetHandler application/x-httpd-php + =========================================================================== diff --git a/www/ap-php/Makefile b/www/ap-php/Makefile index da96b1d900a..cfe8ec143dc 100644 --- a/www/ap-php/Makefile +++ b/www/ap-php/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.30 2014/06/13 14:31:19 fhajny Exp $ +# $NetBSD: Makefile,v 1.31 2015/03/08 17:03:23 taca Exp $ PKGNAME= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_BASE_VERS} -PKGREVISION= 1 +PKGREVISION= 2 COMMENT= Apache (${PKG_APACHE}) module for ${PKG_PHP} CONFLICTS= ap-php-[0-9]* -- cgit v1.2.3