How to block wp- login. Panel, mod security, and Config. Server Firewall. If you run a server that hosts numerous Word. Press sites you know that constant brute force attempts to login to wp- login. Now you could try and convince your clients to install plugins to handle this, but more than likely that’s not really an option. Well luckily with a little configuration of mod_security you can easily block these attempts using the free Config. Server Firewall, and here’s how (WHM/c. Panel details added on 1/1. Originally published on 1. Aug , 2. 01. 4)First you need to make sure that you compiled Apache with mod_security, if not you will need to run Easy. Apache again and make sure that mod_security is enabled. You will also need Config. Server Firewall, which if you don’t already have this installed you already have a problem. To be honest, mod_security and Config. Server Firewall should absolutely be installed on every c. Panel server, if you are not using it, you may already have larger problems (unless you are using another firewall or another solution). You can check if Apache has mod_security compiled or not by running this command. This should give you an output of something similar to this. ![]() ![]() How to install mod_security for Apache. We have confirmed this security addon works with Cpanel based. How to install? 1. Login to your server through SSH. Fri Jul 1. 8 0. 4: 4. Mod. Security for Apache/2. Fri Jul. 18. 04: 4. Mod. Security for. Apache/2. 7. 7(http: //www. Configuring Mod Security Rule. So now we need to configure out custom Mod Security rule that will handle blocking excessive wp- login. You can either manually edit
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |