Mobile app version of vmapp.org
Login or Join
Lee4591628

: IP Address Deny Manager does not seem to work I blocked an IP trying login attempts through IP Address Deny Manager on cpanel but it doesn't seem to work. I still see the blocked IP on my

@Lee4591628

Posted in: #Block #Cpanel

I blocked an IP trying login attempts through IP Address Deny Manager on cpanel but it doesn't seem to work. I still see the blocked IP on my visitor log? If IP Address Deny Manager is not helpful, how can I limit that IP?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Lee4591628

1 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

If you are using Apache, edit the .htaccess file in your website root directory and add the below. 192.0.2.123 will represent the IP address of the user you wish to block.

order allow,deny
deny from 192.0.2.123
allow from all


If you are using NginX, edit the vhosts config file (location depends on your setup) and add the below.

location / {
deny 192.0.2.123;
allow all;
}


Note: You would have to reload/restart apache.nginx for changes to take effect.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme