Created
August 21, 2017 19:17
-
-
Save cipriantepes/6ec2ca4d268d4b40045da25104b044cb to your computer and use it in GitHub Desktop.
GravityForms fix 403 admin-ajax.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### DISABLE mod_security firewall | |
### Some rules are currently too strict and are blocking legitimate users | |
### We only disable it for URLs that contain the regex below | |
### The regex below should be placed between "m#" and "#" | |
### (this syntax is required when the string contains forward slashes) | |
### @src https://stackoverflow.com/questions/12928360/how-can-i-disable-mod-security-in-htaccess-file | |
<IfModule mod_security.c> | |
<If "%{REQUEST_URI} =~ "m#/wp-admin/admin.php?page=gf_edit_forms/#"> | |
SecFilterEngine Off | |
</If> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment