CyberPanel Community

Mod Security - How to create and edit specific rules for a website?

of
ofm1990 #1

I found this method, does it work with CyberPanel + OLS too? Just put it in .htaccess ?

3. Disable mod_security for Specific URLs

<IfModule mod_security.c> 
<If "%{REQUEST_URI} =~ m#/admin/#"> 
SecFilterEngine Off SecFilterScanPOST Off 
</If> 
</IfModule>
1 reply
of
ofm1990 #2

For me it doesn’t work at all, not even restarting the OLS

Sign in to reply