Log in to your account using SSH and change to the directory where the apache logs available.
Then issue the command given below.
awk ‘{print $1}’ access.log | sort | uniq -c | sort -n | tail -n 10
Log in to your account using SSH and change to the directory where the apache logs available.
Then issue the command given below.
awk ‘{print $1}’ access.log | sort | uniq -c | sort -n | tail -n 10
Log in to your account using SSH and Change to the directory where you installed Magento.
Run the blow given commands
touch /opt/ocentric/magento/current/maintenance.flag
service httpd restart
Then edit the index.php and assign the IPs to be shiteslited to the array $allowed = array(‘xxx.xxx.xxx.xxx’);