[packages/htmlgrid-charisma] apache 1.3/2.0/2.2/2.4 compatible config

glen glen at pld-linux.org
Tue Jul 9 09:08:13 CEST 2013


commit 4b38dae306ebf465b48b6ce790b8711332493f38
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jul 9 10:07:41 2013 +0300

    apache 1.3/2.0/2.2/2.4 compatible config

 apache.conf            | 8 +++++++-
 htmlgrid-charisma.spec | 2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/htmlgrid-charisma.spec b/htmlgrid-charisma.spec
index 21495d5..86fcf4f 100644
--- a/htmlgrid-charisma.spec
+++ b/htmlgrid-charisma.spec
@@ -1,7 +1,7 @@
 Summary:	Charisma - free, responsive, multiple skin admin template
 Name:		htmlgrid-charisma
 Version:	1.0.0
-Release:	1
+Release:	3
 License:	Apache v2.0
 Group:		Applications/WWW
 Source0:	https://github.com/usmanhalalit/charisma/archive/master.tar.gz?/charisma.tgz
diff --git a/apache.conf b/apache.conf
index 1cff060..319769d 100644
--- a/apache.conf
+++ b/apache.conf
@@ -4,9 +4,15 @@ Alias /themes/charisma /usr/share/htmlgrid-charisma
 	<IfModule mod_access.c>
 		Allow from all
 	</IfModule>
-	# Apache 2.2+
+	# Apache 2.2
+	<IfModule !mod_authz_core.c>
 	<IfModule mod_authz_host.c>
 		Allow from all
 	</IfModule>
+	</IfModule>
+	# Apache 2.4
+	<IfModule mod_authz_core.c>
+		Require all granted
+	</IfModule>
 	Options +FollowSymLinks
 </Directory>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/htmlgrid-charisma.git/commitdiff/4b38dae306ebf465b48b6ce790b8711332493f38



More information about the pld-cvs-commit mailing list