|
Posted by Jerry Stuckle on May 25, 2008, 8:11 pm
Please log in for more thread options
Bud wrote:
> Hi,
>
> I'm a newbie at server-side managment, but was wondering if anyone could
> help me with the protocol of blocking "bad" referrers or IP #'s...?
>
> there's a site ID'd in my server logs that seems to be using my photo
> galleries for spamming. It's something like:
> twcny.res.rr.com
>
> I've been advised to do a HTACCESS file like this:
>
> order allow,deny
> deny from 74.67.194.17
> deny from 127.0.0.2
> deny from 127.0.0.3
> allow from all
> RewriteEngine on
> # Options +FollowSymlinks
> RewriteCond % twcny.res.rr\.com [NC]
> RewriteRule .* - [F]
>
> which contains the offending sites (not sure about the 127.0.0... ?)
>
> any comments or help with this appreciated...
>
> bud
>
>
The 127.x.x.x IPs are reserved for local use. They should not be routeable.
The rest should work - but try alt.apache.configuration to make sure.
That's where I go for apache configuration help.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
|