GetSimple Support Forum
QUESTION failedlogins.log - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5)
+--- Thread: QUESTION failedlogins.log (/showthread.php?tid=17144)



failedlogins.log - LogicPHP - 2024-01-13

In the failed connections file I find a few IPs with failed connection attempts that I don't recognize. How can I block access to these IPs?


RE: failedlogins.log - islander - 2024-01-13

(2024-01-13, 17:39:24),LogicPHP Wrote: In the failed connections file I find a few IPs with failed connection attempts that I don't recognize. How can I block access to these IPs?


Use your existing .htaccess file located in the root, add something similar to the following:



Code:
# Blocked IP Addresses
Order Deny,Allow
Deny from 123.45.67.89
Deny from 123.45.67.90



RE: failedlogins.log - LogicPHP - 2024-01-13

(2024-01-13, 20:08:11)islander Wrote:
(2024-01-13, 17:39:24),LogicPHP Wrote: In the failed connections file I find a few IPs with failed connection attempts that I don't recognize. How can I block access to these IPs?


Use your existing .htaccess file located in the root, add something similar to the following:



Code:
# Blocked IP Addresses
Order Deny,Allow
Deny from 123.45.67.89
Deny from 123.45.67.90

thanks for the reply