From: Najmeh Rezatash []
Sent: Wednesday, November 26, 2008 9:06 AM
Subject: [mod-security-users] configuring httpd.conf


Hi there,
I've installed mod_security2.5 on fedora 9. the apache version is 2.8.
my problem is:
I dont know what should I add to httpd.conf file to configure apache to work with mod_security, I 've already added this lines:
LoadFile /usr/lib/
LoadModule security2_module modules/
LoadModule unique_id_module modules/

<IfModule mod_security2.c>
       SecServerSignature "Microsoft-IIS/5.0 (Nintendo DS)"
       Include conf.d/modsecurity2/rules/*.conf
SecAuditEngine on
SecAuditLog /etc/httpd/logs/modsec_audit.log
SecRuleEngine On

 but I need to add some cofigurations like "SecFilter Engine On" and etc. .. to it . when i add SecFilter Engine On and then try to restart the apache, it says that the sntax is wrong. plz tell what to do to have filtering features on mod_sec and can view logs?
Thanks alot.

[Ryan Barnett] Many of the directive names have change in Mod 2.5.X.  I suggest that you review the FAQ -