modsecurity error on Apache2
I have a strange problem with Apache 2.2. I've compiled mod_security, and the server loads the module:
Code:
krwawnik:~# apache2 -t -D DUMP_MODULES Code:
Forcing reload of web server (apache2)...Syntax error on line 5 of /etc/apache2/mods-enabled/security.conf: //--- Ooops I should rather put this topic in Linux-Software, sorry ! |
Have you got any ideas why it behaves like that ?
You didn't configure it properly. Here's an example. If you can't figure it out post your conf. |
ModSecurity 2
You are loading ModSecurity 2, while the directive that cause the error is in ModSecurity 1 syntax. If you would like to get help on how to convert rules from ModSecurity 1 to 2, look for the mainling list and the blog on modsecurity.org
~ Ofer ModSecurity Core Rule Set project leader CTO, Breach Security ofers@breach.com |
Oh big thank you :) Haven't spotted that the syntax has changed.
You guys never fail ! Huge thx ! |
All times are GMT -5. The time now is 05:53 PM. |