New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Changing rules on Comodo WAF with CWP Pro

Started by ring_c, December 10, 2018, 06:00:08 AM

Previous topic - Next topic

ring_c

Hi,


I've just got my CWP Pro enabled and installed Comodo's WAF but I need to disable some rules. Where do I do that?

ring_c

I've tried to follow the video in CWP's wiki but it seems the systems is not the same nowadays, hence I can't exactly follow it.

Netino

Put your customizations in: '/usr/local/apache/modsecurity-cwaf/custom_user.conf'

Like as:

  <If "%{REQUEST_URI} =~ m#/webmail/#">
    SecRuleRemoveById 211080
    SecRuleRemoveById 211630
   (...)
  </If>


Regards,
Netino