From c47f0e45749058edf2b85767fa7a70308fc478f8 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Fri, 19 Dec 2014 11:06:32 -0800 Subject: [PATCH] Paths should be different for all deb based OSes Not just ubuntu. Fix for #948 --- templates/mod/security.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mod/security.conf.erb b/templates/mod/security.conf.erb index ed884eadd..7597c461f 100644 --- a/templates/mod/security.conf.erb +++ b/templates/mod/security.conf.erb @@ -54,7 +54,7 @@ SecAuditLogType Serial SecArgumentSeparator & SecCookieFormat 0 -<%- if scope.lookupvar('::operatingsystem') == 'Ubuntu' -%> +<%- if scope.lookupvar('::osfamily') == 'Debian' -%> SecDebugLog /var/log/apache2/modsec_debug.log SecAuditLog /var/log/apache2/modsec_audit.log SecTmpDir /var/cache/modsecurity