pronl
Forum Replies Created
-
How does that ‘bad code’ in the .htaccess file exactly looks like ?
The theme simple format only supports Apache 2.2 or older.
mod_authz_core.c is a new module in Apache 2.3 or higher.
So using <IfModule mod_authz_core.c> and <IfModule !mod_authz_core.c> helps in targeting the right Apache version.
Thanks for the clarification.
Note that the Pro plugin offers a Plugin Updates (and Theme Updates) setting in the Version Management module which enables automatic updating for ALL plugins (or themes).
Unfortunately is does not provide fine grained control …
Just did a little bit of research and I’ve probably found what you are looking for.
Try better-wp-security as the plugin slug.
Looks like this needs a bit more clarification.
What exactly did you try with ‘itsec’ ?And is this a question for the free iThemes Security plugin or the Pro plugin ?
Despite the bug fix in 6.5.1 there is still a fundamental issue with database locking using the WP_SITEMETA table in a MultiSite env.
It is possible to resolve this fundamental problem, though it does require a core table edit in the database. A unique index needs to be added to the WP_SITEMETA table.
(There is an old entry in the WordPress MU tracking system which requested for adding the UNIQUE index to the WP_SITEMETA table in core. But for some reason it was reverted and never made it into core …).
Manually adding the UNIQUE index can only be done properly after making sure no duplicate site_id,meta_key records exist. In other words, you really need to know what you are doing.
All of this is based on the short input provided so far in this topic.
So I could be wrong ??Oh, and no there doesn’t seem to be a way to disable database locking in the plugin.
Forum: Networking WordPress
In reply to: Unable to access an old trac.mu.www.remarpro.com linkNever mind. Got it …
The iTSec plugin by default disables the file editor for plugins and themes …
To reenable it, goto Security -> Settings -> WordPress Tweaks and uncheck the Disable File Editor setting. Then click on the Save Settings button.
OK great. Try the suggested code block(s) from my previous post.
I commented the lines which could be problematic with a hash (#).
Are you comfortable in doing a little bit of trial and error with the .htaccess ?
(You’ll need to edit the .htaccess file manually.)If so try this block first:
<IfModule !mod_authz_core.c> Order allow,deny Allow from all # Deny from env=DenyAccess Deny from 140.112.29.131 Deny from 2001:41d0:2:b960:0:0:0:0 Deny from 207.241.231.63 </IfModule>
If that still produces a 500 error try this block:
<IfModule !mod_authz_core.c> Order allow,deny Allow from all # Deny from env=DenyAccess Deny from 140.112.29.131 # Deny from 2001:41d0:2:b960:0:0:0:0 Deny from 207.241.231.63 </IfModule>
The above assumes that the related SetEnvIF entries (3) exist in the .htaccess file.
Below an example of a complete block for a single banned IP address (v4):SetEnvIF REMOTE_ADDR "^3\.3\.3\.3$" DenyAccess SetEnvIF X-FORWARDED-FOR "^3\.3\.3\.3$" DenyAccess SetEnvIF X-CLUSTER-CLIENT-IP "^3\.3\.3\.3$" DenyAccess <IfModule mod_authz_core.c> <RequireAll> Require all granted Require not env DenyAccess Require not ip 3.3.3.3 </RequireAll> </IfModule> <IfModule !mod_authz_core.c> Order allow,deny Allow from all Deny from env=DenyAccess Deny from 3.3.3.3 </IfModule>
Look for any relevant errors in the web server error_log.
This way you can narrow down which line exactly Apache is tripping over.What Apache version are you using ?
Simply disable the warning and/or email notification …
Or buy a Pro license which includes the Online File Comparison feature …
Do note only the WordPress core and iThemes Security Pro plugin files are compared online.Ok, no problemo.
If updating the plugin to 6.5.1 indeed fixes the issue please update this topic with your confirmation.
Oh, one other thing. I don’t think the plugin will remove the extra ‘itsec-lock-backup’ records from the wp_sitemeta table. So you will probably need to do that yourself. Removing these records will also help in determining whether the issue is resolved or not ??
Never mind.
iThemes released an update (6.5.1) yesterday that includes a fix for 2 bugs that contributed to this issue.
According to the 6.5.1 Changelog:
Bug Fix: Fixed logical error that prevented backups from executing.
Bug Fix: Fixed issue that could cause database locks to flood the database.