Skip to content

Commit

Permalink
Merge pull request #2362 from david22swan/CONT-406/rstore_redhat_7_comp
Browse files Browse the repository at this point in the history
(CONT-406) Fix for RHEL 7 compatibility
  • Loading branch information
GSPatton authored Dec 21, 2022
2 parents b0cea95 + 175d6d4 commit e7a5767
Show file tree
Hide file tree
Showing 2 changed files with 441 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/mod/security.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
<%- end -%>
SecArgumentSeparator &
SecCookieFormat 0
<%- if scope.lookupvar('::osfamily') == 'Debian' -%>
<%- if scope['os::family'] == 'Debian' -%>
SecDebugLog <%= @logroot %>/modsec_debug.log
SecAuditLog <%= @logroot %>/modsec_audit.log
SecTmpDir /var/cache/modsecurity
SecDataDir /var/cache/modsecurity
SecUploadDir /var/cache/modsecurity
<%- elsif scope.lookupvar('::osfamily') == 'Suse' -%>
<%- elsif scope['os::family'] == 'Suse' -%>
SecDebugLog /var/log/apache2/modsec_debug.log
SecAuditLog /var/log/apache2/modsec_audit.log
SecTmpDir /var/lib/mod_security
Expand Down
Loading

0 comments on commit e7a5767

Please sign in to comment.