How to Turn Off mod security – mod_security SecFilterEngine Off

Home Forums BulletProof Security Pro How to Turn Off mod security – mod_security SecFilterEngine Off

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9332
    AITpro Admin
    Keymaster

    To Troubleshoot mod_security problems add this .htaccess code to your Root .htaccess file.  BPS is compatible with mod_security in general.  mod_security is similar to .htaccess files in that you can create custom security rules and filters.  mod_security rules and filters are called SecRules and SecFilters.  mod_security is configured at the Server level, but can be turned On and Off in an .htaccess file IF your Host Server allows that to be done in an .htaccess file on your website.

    1. Copy this .htaccess code below to this BPS Root Custom Code text box: CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE:
    2. Click the Save Root Custom Code button.
    3. Go to the Security Modes page and click the Root Folder BulletProof Mode Activate button.
    Note: This code should go after all other existing code in the CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE text box.

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.