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 |
|