Date: Mon, 19 May 2014 15:41:29 +0000 (UTC) From: Alex Dupre <ale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354544 - in head/lang: php5 php55 Message-ID: <201405191541.s4JFfTRw029036@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ale Date: Mon May 19 15:41:29 2014 New Revision: 354544 URL: http://svnweb.freebsd.org/changeset/ports/354544 QAT: https://qat.redports.org/buildarchive/r354544/ Log: Improve pkg-message for mod_php5. Submitted by: POINSOT Julien <poinsot.julien@gmail.com> Modified: head/lang/php5/pkg-message.mod head/lang/php55/pkg-message.mod Modified: head/lang/php5/pkg-message.mod ============================================================================== --- head/lang/php5/pkg-message.mod Mon May 19 15:07:35 2014 (r354543) +++ head/lang/php5/pkg-message.mod Mon May 19 15:41:29 2014 (r354544) @@ -4,7 +4,11 @@ Make sure index.php is part of your Dire You should add the following to your Apache configuration file: -AddType application/x-httpd-php .php -AddType application/x-httpd-php-source .phps +<FilesMatch "\.php$"> + SetHandler application/x-httpd-php +</FilesMatch> +<FilesMatch "\.phps$"> + SetHandler application/x-httpd-php-source +</FilesMatch> *************************************************************** Modified: head/lang/php55/pkg-message.mod ============================================================================== --- head/lang/php55/pkg-message.mod Mon May 19 15:07:35 2014 (r354543) +++ head/lang/php55/pkg-message.mod Mon May 19 15:41:29 2014 (r354544) @@ -4,7 +4,11 @@ Make sure index.php is part of your Dire You should add the following to your Apache configuration file: -AddType application/x-httpd-php .php -AddType application/x-httpd-php-source .phps +<FilesMatch "\.php$"> + SetHandler application/x-httpd-php +</FilesMatch> +<FilesMatch "\.phps$"> + SetHandler application/x-httpd-php-source +</FilesMatch> ***************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405191541.s4JFfTRw029036>