iThemes Security not working properly on Apache 2.4
-
Hi,
as I said in https://www.ads-software.com/support/topic/better-wp-security-and-apache-2-4if you install BWPS on Apache 2.4, when the plugin bans at least one host we receive an “Internal Server Error” message and the site goes down.
To avoid this we have modified the file common.php of the plugin
changing lines:$rules .= "Order Allow,Deny" . PHP_EOL . "Deny from env=DenyAccess" . PHP_EOL . "Allow from all" . PHP_EOL;
with these:
$rules .= "<RequireAll>" . PHP_EOL . "Require not env DenyAccess" . PHP_EOL . "Require all granted" . PHP_EOL . "</RequireAll>" . PHP_EOL;
Note to the author: I hope you will include this change (or similar) in the next release. I know it is difficult to detect automatically the version of Apache (2.2 or 2.4), but I would suggest to put a check box in the admin area of the plugin to allow the administrator to choose.
Simone.
- The topic ‘iThemes Security not working properly on Apache 2.4’ is closed to new replies.