aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bugzilla')
-rwxr-xr-xmodules/bugzilla/manifests/init.pp1
-rw-r--r--modules/bugzilla/templates/vhost.conf12
2 files changed, 13 insertions, 0 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp
index 3e36fb42..373187d7 100755
--- a/modules/bugzilla/manifests/init.pp
+++ b/modules/bugzilla/manifests/init.pp
@@ -61,6 +61,7 @@ class bugzilla {
use_ssl => true,
location => $vhost_root,
vhost => $bugs_vhost,
+ enable_location => false,
}
git::snapshot { $bugzilla_location:
diff --git a/modules/bugzilla/templates/vhost.conf b/modules/bugzilla/templates/vhost.conf
index 79eab9fb..b320285e 100644
--- a/modules/bugzilla/templates/vhost.conf
+++ b/modules/bugzilla/templates/vhost.conf
@@ -1,2 +1,14 @@
RewriteEngine On
RewriteRule ^/([0-9]+)$ /show_bug.cgi?id=$1 [R=301,L]
+
+ <Directory /usr/share>
+ Require all granted
+ </Directory>
+
+
+ <Directory /usr/share/bugzilla>
+ AllowOverride all
+ AddHandler cgi-script .cgi
+ Options +ExecCGI +FollowSymLinks
+ DirectoryIndex index.cgi index.html
+ </Directory>