View | Details | Raw Unified | Return to bug 110121
Collapse All | Expand All

(-)mod_security2/Makefile (-1 / +1 lines)
Lines 64-70 Link Here
64
	@${REINPLACE_CMD} -e '\
64
	@${REINPLACE_CMD} -e '\
65
		s|SecRuleEngine On|SecRuleEngine DetectionOnly|; \
65
		s|SecRuleEngine On|SecRuleEngine DetectionOnly|; \
66
		s|SecAuditLog.*logs/modsec_audit.log|SecAuditLog /var/log/httpd-modsec2_audit.log|; \
66
		s|SecAuditLog.*logs/modsec_audit.log|SecAuditLog /var/log/httpd-modsec2_audit.log|; \
67
		s|SecDebugLog.*logs/modsec_debug.log|SecAuditLog /var/log/httpd-modsec2_debug.log|; \
67
		s|SecDebugLog.*logs/modsec_debug.log|SecDebugLog /var/log/httpd-modsec2_debug.log|; \
68
		s|SecServerSignature "Apache/2.2.0 (Fedora)"|SecServerSignature "Apache/${APACHE_VERSION:C/[0-9]/\0./g}x (${OPSYS})"|; \
68
		s|SecServerSignature "Apache/2.2.0 (Fedora)"|SecServerSignature "Apache/${APACHE_VERSION:C/[0-9]/\0./g}x (${OPSYS})"|; \
69
		' ${WRKSRCTOP}/rules/modsecurity_crs_10_config.conf
69
		' ${WRKSRCTOP}/rules/modsecurity_crs_10_config.conf
70
70
(-)mod_security2/files/mod_security.conf.in (+3 lines)
Line 0 Link Here
1
<IfModule mod_security2.c>
2
    Include %%APACHEETCDIR%%/Includes/mod_security2/*.conf
3
</IfModule>
(-)mod_security2/files/pkg-message-rules.in (+10 lines)
Line 0 Link Here
1
2
The modsecurity 2 Core Rules have been installed in 
3
4
    %%PREFIX%%/%%APACHEETCDIR%%/Includes/mod_security2/
5
6
and run in "DetectionOnly" mode as not to disturb operatings.
7
8
Please read http://www.modsecurity.org/projects/rules/index.html
9
10
Logging is done to /var/log/httpd-modsec-*.log

Return to bug 110121