aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-06-15 17:31:12 +0100
committerColin Guthrie <colin@mageia.org>2014-06-15 17:31:12 +0100
commit07ddaf5038774b274b0fcc5ac84fed04813b769e (patch)
treeaa756809a3f892c988faaf36df2cf6dbba4ca2b3 /modules/bugzilla
parent4274494bc129a789172299dbf3fe7f08e9465a72 (diff)
downloadpuppet-07ddaf5038774b274b0fcc5ac84fed04813b769e.tar
puppet-07ddaf5038774b274b0fcc5ac84fed04813b769e.tar.gz
puppet-07ddaf5038774b274b0fcc5ac84fed04813b769e.tar.bz2
puppet-07ddaf5038774b274b0fcc5ac84fed04813b769e.tar.xz
puppet-07ddaf5038774b274b0fcc5ac84fed04813b769e.zip
bugzilla: Allow our extension to serve webfiles (needed for favicon)
Diffstat (limited to 'modules/bugzilla')
-rw-r--r--modules/bugzilla/templates/webapp_bugzilla.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/bugzilla/templates/webapp_bugzilla.conf b/modules/bugzilla/templates/webapp_bugzilla.conf
index 5db49d50..c14ef701 100644
--- a/modules/bugzilla/templates/webapp_bugzilla.conf
+++ b/modules/bugzilla/templates/webapp_bugzilla.conf
@@ -30,7 +30,16 @@ path_data_directory = "/var/lib/bugzilla"
Alias /graphs/ <%= path_data_directory %>/graphs/
<Directory <%= path_data_directory %>/graphs>
+ <FilesMatch \.png$>
+ Order allow,deny
+ Allow from all
+ </FilesMatch>
+</Directory>
+# This should work automatically, but perhaps something
+# in our Bugzilla packaging breaks this?
+Alias /extensions/Mageia/web/ <%= extension_location %>/web/
+<Directory <%= extension_location %>/web/>
<FilesMatch \.png$>
Order allow,deny
Allow from all