Last active
December 9, 2016 20:54
-
-
Save MrityunjaiKumar/e0a45b30db406181b85d26b73b71f631 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /var/log/apache2 | |
tail access.log | |
grep -o 191.96.249.80 acceess.log | wc -l | |
cd /etc/apache2/sites-available/ | |
sudo nano 000-default.conf #whatever the working config is for that website #by default its 000-default if not added/changed. | |
<Files xmlrpc.php> | |
order allow,deny | |
deny from 191.96.249.80 | |
allow from all | |
</Files> | |
sudo reboot now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment