sbarros Posted March 4, 2006 Share Posted March 4, 2006 I use the file .htaccess like this:<Limit GET> order deny,allow deny from 61.49.3.254</Limit>Please, I would like know if can use the following line:deny from 193.220.64.0-193.220.64.255Thanks in advance Link to comment https://forums.phpfreaks.com/topic/4062-banned-ip-with-htaccess-in-my-guestbook/ Share on other sites More sharing options...
oldmanice Posted September 5, 2006 Share Posted September 5, 2006 No you cant because thats a diffrant ip address Link to comment https://forums.phpfreaks.com/topic/4062-banned-ip-with-htaccess-in-my-guestbook/#findComment-86647 Share on other sites More sharing options...
Woolf Posted September 5, 2006 Share Posted September 5, 2006 Instead of this: deny from 193.220.64.0-193.220.64.255use this: deny from 193.220.64Essentially, this will block anybody with the ipaddress of 193.220.64.*, * being the wildcard, matching any number. Link to comment https://forums.phpfreaks.com/topic/4062-banned-ip-with-htaccess-in-my-guestbook/#findComment-86696 Share on other sites More sharing options...
oldmanice Posted September 6, 2006 Share Posted September 6, 2006 Yes do the same for the rest. Link to comment https://forums.phpfreaks.com/topic/4062-banned-ip-with-htaccess-in-my-guestbook/#findComment-86818 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.