Blocking certain IP!

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
ameo
Regular
Posts: 143
Joined: Fri Sep 26, 2008 4:13 am

Blocking certain IP!

Post by ameo »

hey, i'd like to block that ip 94.102.60.35
i thought about "Block bad IPs via HTaccess? " in the comment spam config.
but i'm worried it could block the other clean comments that gets caught by mistake!?
if i enabled this feature will that block all the comments from that ip without notification[and that is what i need] or it'll block all comments coming from suspicious domains?
i know this is confusing, i'm confused myself when i wrote this.. hope you get my point :)

thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Blocking certain IP!

Post by garvinhicking »

Hi!

Simply enter it into your .htaccess. Google for "denyFrom .htaccess".

The htaccess spamblock listing is only for IPs that the psamblock plugin gathers. It is expermiental and does not work good for large sites, and of course raises the chance that people get blocked who shouldn't.

Regards,
GArvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ameo
Regular
Posts: 143
Joined: Fri Sep 26, 2008 4:13 am

Post by ameo »

That's exactly why i was afraid of when activating that option.

i got the code after googling it

Code: Select all

order allow,deny
deny from 94.102.60.35 
allow from all
i'll put it after # END s9y correct me if i'm wrong!

Thanks :)
Post Reply