AH00526: Syntax error on line 93 of /etc/apache2/modsec/owasp-modsecurity-crs/rules/REQUEST-903.9004-DOKUWIKI-EXCLUSION-RULES.conf: Error parsing actions: Unknown action: \\ Action 'configtest' failed. The Apache error log may have more information. #3142
Labels
2.x
Related to ModSecurity version 2.x
Hello,
I'm using kali 2023.I am conducting an experiment on configuring the OWASP rule set in ModSecurity to prevent injection attacks, but I have encountered a problem
I downloaded libapache2-mod-security2,Rename modsecurity.conf-recommended to modsecurity.conf。
I renamed "crs-setup.conf.example" file to "crs-setup.conf". In the "rules" directory, I renamed below files too:
In apache2 configuration file/etc/apache2 / apache2. Add the code the conf:
The crs-setup.conf file is also edited:
I also add a main.conf configuration file under /etc/apache2/modsec:
However, I still received an error in the service apache2 restart command:
and this is the line 93 code :
I lack experience, please tell me what I should do?
thank you...
The text was updated successfully, but these errors were encountered: