summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2015-09-27 07:17:58 +0000
committertaca <taca@pkgsrc.org>2015-09-27 07:17:58 +0000
commit29a369bf1b0a76e8b693a8f69ce0b60a9308939e (patch)
treeccd25ab59a9faa1735a9f27f9bd028462daae843
parentc61fdfb3b7cff1847e19b8b42b025ff91669d180 (diff)
downloadpkgsrc-29a369bf1b0a76e8b693a8f69ce0b60a9308939e.tar.gz
Tweak geeklog.conf to support mod_authz_core as well as mod_authz_core.
-rw-r--r--www/geeklog/Makefile4
-rw-r--r--www/geeklog/files/geeklog.conf7
2 files changed, 8 insertions, 3 deletions
diff --git a/www/geeklog/Makefile b/www/geeklog/Makefile
index e858d542530..e9f9e069e0d 100644
--- a/www/geeklog/Makefile
+++ b/www/geeklog/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.41 2015/07/06 11:49:54 taca Exp $
+# $NetBSD: Makefile,v 1.42 2015/09/27 07:17:58 taca Exp $
#
DISTNAME= geeklog-${VER}
PKGNAME= geeklog-${VER:C/(sr|-)/./g}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= https://www.geeklog.net/filemgmt/upload_dir/
diff --git a/www/geeklog/files/geeklog.conf b/www/geeklog/files/geeklog.conf
index 88e2aa74107..9f2652800fe 100644
--- a/www/geeklog/files/geeklog.conf
+++ b/www/geeklog/files/geeklog.conf
@@ -1,4 +1,4 @@
-# $NetBSD: geeklog.conf,v 1.2 2009/05/26 14:19:29 taca Exp $
+# $NetBSD: geeklog.conf,v 1.3 2015/09/27 07:17:58 taca Exp $
#
Alias /geeklog "@PREFIX@/@GEEKLOG_PUB@"
@@ -7,6 +7,11 @@ Alias /geeklog "@PREFIX@/@GEEKLOG_PUB@"
DirectoryIndex index.php index.html
Options Indexes
AllowOverride None
+<IfModule !mod_authz_core.c>
Order allow,deny
Allow from localhost
+</IfModule>
+<IfModule mod_authz_core.c>
+ Require all granted
+</IfModule>
</Directory>