diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-17 01:23:20 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-17 01:23:20 +0200 |
commit | bcda278c2ab74795857cf9bcb9184268e8a28923 (patch) | |
tree | 133434d17974f1b713846cde5f70cadbc030d5ac /modules/bugzilla | |
parent | 906ceed124713a5457c81235bb6ad423ba81d8a1 (diff) | |
download | puppet-bcda278c2ab74795857cf9bcb9184268e8a28923.tar puppet-bcda278c2ab74795857cf9bcb9184268e8a28923.tar.gz puppet-bcda278c2ab74795857cf9bcb9184268e8a28923.tar.bz2 puppet-bcda278c2ab74795857cf9bcb9184268e8a28923.tar.xz puppet-bcda278c2ab74795857cf9bcb9184268e8a28923.zip |
Allow to not use Location directive in apache ( but keep past use by default)
Diffstat (limited to 'modules/bugzilla')
-rwxr-xr-x | modules/bugzilla/manifests/init.pp | 1 | ||||
-rw-r--r-- | modules/bugzilla/templates/vhost.conf | 12 |
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> |