summaryrefslogtreecommitdiff
path: root/www/moodle/files
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-06-15 08:16:12 +0000
committerwiz <wiz@pkgsrc.org>2010-06-15 08:16:12 +0000
commitb65768c341f4e850e744d33d1662eea65bb93481 (patch)
tree778b0800428890031918a16fc191a0feca53124a /www/moodle/files
parent63ec177d51a765ea7727dd5fea068e95d9bdf4ae (diff)
downloadpkgsrc-b65768c341f4e850e744d33d1662eea65bb93481.tar.gz
PR 43417 by maintainer Wen Heping:
Improve Makefile and fix some bugs in conf file While here, comment out destdir-ready flag, since the package chowns. Bump PKGREVISION.
Diffstat (limited to 'www/moodle/files')
-rw-r--r--www/moodle/files/moodle.conf10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/moodle/files/moodle.conf b/www/moodle/files/moodle.conf
index 40de27bc7dc..7861984f7da 100644
--- a/www/moodle/files/moodle.conf
+++ b/www/moodle/files/moodle.conf
@@ -1,4 +1,4 @@
-# MediaWiki configuration file fragment for Apache
+# Moodle configuration file fragment for Apache
<IfModule mod_alias.c>
Alias /moodle/ "@MOODLEDIR@/"
@@ -11,3 +11,11 @@
Order allow,deny
Allow from all
</Directory>
+
+<Directory "@MOODLEDATADIR@">
+ Options Indexes
+ DirectoryIndex index.php index.html
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+</Directory>