Hello everyone, what I am asking is pretty basic stuff but I can not figure it out. I need to ban 10-15 IP addresses and they are not close to each other (I mean I can not use ranges). do I have to create 15 separate band list or there is a way to add multiple IP addresses to one ban list something like (x.x.x.x;y.y.y.y) or (x.x.x.x,y.y.y.y) I did try both but they don't work. is there any other way to do this ?
Hi and welcome to SMF! :D
I suggest you to take a look at this, I have just updated it: http://www.simplemachines.org/community/index.php?topic=524146.0 ;)
thanks man, that helped a lot (if I can get write permissions on that directory this will be the best solution)
You're welcome :D anyway the .htaccess file should be placed in your root folder in order to make it work properly, especially if your forum folder is not in the root but in a subfolder.
htaccess can be really handy
i tend to use htaccess 2 & 3 levels deep
but it can be a hazard if you mess up
and if you get to liking it to much, it can bog down ya site
like a 4m htaccess blocking every non-us CIDR lol
real pain in the neck!
Agreed. Always be careful while using CIDR notations as you could ban *LOTS* of computers in a second by mistake >_<