1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 2.7.1

- Improve pkg-message
This commit is contained in:
Wen Heping 2014-07-14 11:18:10 +00:00
parent 776bcdb245
commit d0df73ffb9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361771
3 changed files with 20 additions and 6 deletions

View File

@ -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//}

View File

@ -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

View File

@ -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