From 5fb85618f7a250fa0513f532432fbd2d76d18704 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 26 Sep 2013 23:57:24 +0300 Subject: [PATCH] apache multiversion config --- apache.conf | 29 ++++++++++++++++++++++++----- bacula-web.spec | 2 +- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/apache.conf b/apache.conf index 2c36f4f..26095fb 100644 --- a/apache.conf +++ b/apache.conf @@ -1,12 +1,31 @@ Alias /bacula-web/cache/ /var/cache/bacula-web/ Alias /bacula-web /usr/share/bacula-web + - allow from all + # Apache < 2.4 + + Order allow,deny + Allow from all + + # Apache 2.4 + + Require all granted + - deny from all - - allow from all - + # Apache < 2.4 + + Deny from all + + Allow from all + + + # Apache 2.4 + + Require all denied + + Require all granted + + diff --git a/bacula-web.spec b/bacula-web.spec index 48302bb..7fe47f7 100644 --- a/bacula-web.spec +++ b/bacula-web.spec @@ -5,7 +5,7 @@ Summary: Open source monitoring and reporting tool for Bacula Name: bacula-web Version: 5.2.12 -Release: 3 +Release: 4 License: GPL v2 Group: Applications/WWW Source0: http://www.bacula-web.org/tl_files/downloads/%{name}-%{version}.tar.gz -- 2.44.0