I was trying to perform a Search-Replace but I was always getting an Ajax error after few tables were processed (even with dry-run), so I decided to track down the issue and I found that the cause was related to mod_evasive, which is an Apache module aimed to mitigate DoS attacks. This means that the sequence of Ajax calls made by the Search-Replace-DB tool was (mistakenly) considered a DoS attack and thus blocked.
I could configure mod_evasive with less restrictive parameters, but that would consist in a reduction of the protection as well, so I would prefer to handle this conflict on the client site by reducing the impact of the calls slowing them down.
I'd like to ask if you could add (configurable?) delay between consequent Ajax calls.
Thank you!
I was trying to perform a Search-Replace but I was always getting an Ajax error after few tables were processed (even with dry-run), so I decided to track down the issue and I found that the cause was related to mod_evasive, which is an Apache module aimed to mitigate DoS attacks. This means that the sequence of Ajax calls made by the Search-Replace-DB tool was (mistakenly) considered a DoS attack and thus blocked. I could configure mod_evasive with less restrictive parameters, but that would consist in a reduction of the protection as well, so I would prefer to handle this conflict on the client site by reducing the impact of the calls slowing them down. I'd like to ask if you could add (configurable?) delay between consequent Ajax calls. Thank you!