This rule give me headaches: RewriteCond %{HTTP_USER_AGENT} ^$ [NC,OR]
-
Hello, im using a payment method (mercadopago) for woocommerce which needs to send notifications from outside my server.
Because they dont have a user agent name, ithemes security blocks it and, nor the admin nor the client receive the payment notification emails.
The only temporal solution i′ve found was commenting this line in the .htaccess file.
# RewriteCond %{HTTP_USER_AGENT} ^$ [NC,OR]
Then the notifications work ok. The problem is that after i save options in ithemes plugin, it regenerates the blacklist and the # is gone.
Is there a way to comment that specific rule outside the ithemes Security code in the htaccess, so it will override the original rule? Or maybe create some kind of whitelist rule for that, so after saving the ithemes options its not removed?
Thank you!!
- The topic ‘This rule give me headaches: RewriteCond %{HTTP_USER_AGENT} ^$ [NC,OR]’ is closed to new replies.