From f74cd036634f7e30c7e50e5d4d40e14d0a6fc216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Thu, 6 Apr 2017 14:44:36 +0200 Subject: Port to new apache --- .../bugzilla-dev/templates/webapp_bugzilla.conf | 39 ++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) (limited to 'modules/bugzilla-dev/templates') diff --git a/modules/bugzilla-dev/templates/webapp_bugzilla.conf b/modules/bugzilla-dev/templates/webapp_bugzilla.conf index 9c1d546d..b3ec283b 100755 --- a/modules/bugzilla-dev/templates/webapp_bugzilla.conf +++ b/modules/bugzilla-dev/templates/webapp_bugzilla.conf @@ -3,8 +3,15 @@ path_data_directory = "/var/lib/bugzilla" %> - Order allow,deny - Allow from all + + # Apache 2.4 + Require all granted + + + # Apache 2.2 + Order allow,deny + Allow from all + AllowOverride Limit FileInfo Indexes Options Options ExecCGI @@ -15,24 +22,45 @@ path_data_directory = "/var/lib/bugzilla" # duplicates.xul > + + # Apache 2.4 + Require all granted + + + # Apache 2.2 Order allow,deny Allow from all + # The png files locally created locally must be accessible /webdot> + + # Apache 2.4 + Require all granted + + + # Apache 2.2 Order allow,deny Allow from all + Alias /graphs/ <%= path_data_directory %>/graphs/ /graphs> + + # Apache 2.4 + Require all granted + + + # Apache 2.2 Order allow,deny Allow from all + @@ -41,7 +69,14 @@ Alias /graphs/ <%= path_data_directory %>/graphs/ Alias /extensions/Mageia/web/ <%= scope.lookupvar("bugzilla::extension_location") %>/web/ /web/> + + # Apache 2.4 + Require all granted + + + # Apache 2.2 Order allow,deny Allow from all + -- cgit v1.2.1