I am trying to block a specific IP address from accessing a site, and below is my .htacces file.
even better would be to forward anyone from a specific IP address to another web site. (this is for an april fools day joke, so speed is important)
order deny,allow
allow from all
deny from 123.123.123.123
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName [url]www.abc.com[/url]
AuthUserFile /home/abc/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/abc/public_html/_vti_pvt/service.grp
Thanks
David