Date: Mon, 14 Jul 2014 11:18:10 +0000 (UTC) From: Wen Heping <wen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361771 - in head/www/moodle27: . files Message-ID: <201407141118.s6EBIATf009228@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wen Date: Mon Jul 14 11:18:10 2014 New Revision: 361771 URL: http://svnweb.freebsd.org/changeset/ports/361771 QAT: https://qat.redports.org/buildarchive/r361771/ Log: - Update to 2.7.1 - Improve pkg-message Modified: head/www/moodle27/Makefile head/www/moodle27/distinfo head/www/moodle27/files/pkg-message.in Modified: head/www/moodle27/Makefile ============================================================================== --- head/www/moodle27/Makefile Mon Jul 14 11:02:34 2014 (r361770) +++ head/www/moodle27/Makefile Mon Jul 14 11:18:10 2014 (r361771) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= moodle -PORTVERSION= 2.7 +PORTVERSION= 2.7.1 CATEGORIES= www MASTER_SITES= SF/moodle/Moodle/stable27/ PKGNAMESUFFIX= ${PKGORIGIN:T:S/moodle//} Modified: head/www/moodle27/distinfo ============================================================================== --- head/www/moodle27/distinfo Mon Jul 14 11:02:34 2014 (r361770) +++ head/www/moodle27/distinfo Mon Jul 14 11:18:10 2014 (r361771) @@ -1,2 +1,2 @@ -SHA256 (moodle-2.7.tgz) = 55db4c841c1469577a1b1bdd031455767fe36f39866df51c76dddfc81a7f95b5 -SIZE (moodle-2.7.tgz) = 34676653 +SHA256 (moodle-2.7.1.tgz) = 2acb8c600c08c2415afba76859888f53a37fddfa06cc955f300755c0f65729a0 +SIZE (moodle-2.7.1.tgz) = 34818166 Modified: head/www/moodle27/files/pkg-message.in ============================================================================== --- head/www/moodle27/files/pkg-message.in Mon Jul 14 11:02:34 2014 (r361770) +++ head/www/moodle27/files/pkg-message.in Mon Jul 14 11:18:10 2014 (r361771) @@ -8,10 +8,11 @@ POST-INSTALL CONFIGURATION FOR MOODLE NOTE: this package assumes that either the phpX-pgsql, phpX-mysql, or phpX-mssql packages are installed. -2) Add the following to your Apache configuration, and - restart the server: +2) Add the following to your Apache configuration file + httpd.conf, and restart the server: + + For Apache versions earlier than 2.4: - ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later. Alias /moodle %%PREFIX%%/%%MOODLEDIR%%/ AcceptPathInfo On <Directory %%PREFIX%%/%%MOODLEDIR%%> @@ -25,6 +26,19 @@ POST-INSTALL CONFIGURATION FOR MOODLE Deny from all </Directory> + For Apache version 2.4.x or above: + + Alias /moodle %%PREFIX%%/%%MOODLEDIR%%/ + AcceptPathInfo On + <Directory %%PREFIX%%/%%MOODLEDIR%%/> + AllowOverride None + Require all granted + </Directory> + <Directory %%PREFIX%%/%%MOODLEDATADIR%%/> + AllowOverride None + Require all denied + </Directory> + 3) Visit your Moodle site with a browser (i.e., http://your.server.com/moodle/), and you should be taken to the install.php script, which will lead
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407141118.s6EBIATf009228>