summaryrefslogtreecommitdiff
path: root/manifests/vhost
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vhost')
-rw-r--r--manifests/vhost/redirect.pp1
-rw-r--r--manifests/vhost/template.pp5
2 files changed, 5 insertions, 1 deletions
diff --git a/manifests/vhost/redirect.pp b/manifests/vhost/redirect.pp
index 7422629..10b78bf 100644
--- a/manifests/vhost/redirect.pp
+++ b/manifests/vhost/redirect.pp
@@ -27,6 +27,7 @@ define apache::vhost::redirect(
domainalias => $domainalias,
server_admin => $server_admin,
allow_override => $allow_override,
+ mod_security => false,
options => $target_url,
ssl_mode => $ssl_mode,
}
diff --git a/manifests/vhost/template.pp b/manifests/vhost/template.pp
index a9e0dbe..324a96a 100644
--- a/manifests/vhost/template.pp
+++ b/manifests/vhost/template.pp
@@ -58,7 +58,10 @@ define apache::vhost::template(
$ldap_user = 'any'
){
if $mod_security {
- include mod_security
+ case $run_mode {
+ 'itk': { include mod_security::itk }
+ default: { include mod_security }
+ }
}
$real_path = $path ? {