Skip to main content

Syntax error modsec2.conf

Comments

3 comments

  • cPanelMichael
    Hello :) Are you adding custom entries to /usr/local/apache/conf/modsec2.user.conf or are you obtaining your custom rules from a specific application or third-party ruleset? The error message appears to stem from line 23 in /usr/local/apache/conf/modsec2.user.conf. Thank you.
    0
  • kona333
    Oh if that's line 23, then yes /usr/local/apache/conf/modsec2.user.conf. had a custom entry that was commented out, but it must not have been done properly so I just removed all lines from that file and now it's fine and dandy, restarted without issue :) Thanks
    0
  • cPanelMichael
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.