summaryrefslogtreecommitdiff
path: root/manifests/vhost/static.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-01-04 15:26:24 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-01-04 15:26:24 -0500
commit550fa2b0a405e9bda6e2d82a1e423396a7ffdaa8 (patch)
tree4cb0a030bf9f837b9621af2b671539b6f2133e90 /manifests/vhost/static.pp
parentdb29f34f58c35f487eaf04e54d26fe2a9405e601 (diff)
add $mod_security_relevantonly flag, enabled by default, logs only on suspicious requests, set to 'false' to log all requests (as before)
Diffstat (limited to 'manifests/vhost/static.pp')
-rw-r--r--manifests/vhost/static.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/vhost/static.pp b/manifests/vhost/static.pp
index 50bb3d8..6a1228a 100644
--- a/manifests/vhost/static.pp
+++ b/manifests/vhost/static.pp
@@ -23,7 +23,8 @@ define apache::vhost::static(
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
$htpasswd_path = 'absent',
- $mod_security = false
+ $mod_security = false,
+ $mod_security_relevantonly = true
){
# create webdir
::apache::vhost::webdir{$name: