Forum Moderators: phranque

Message Too Old, No Replies

htaccess filter by hostname

         

jake66

7:20 am on Jan 23, 2009 (gmt 0)

10+ Year Member



I've been getting a lot of hits from webservers (the type of traffic no one really wants - script kiddies, scrapers, etc)

A lot of them have host addresses like:
servername.someshoddyhosting.com

How can I deny website access to anyone with "hosting" in their address?

g1smd

11:25 am on Jan 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Look at the DENY FROM syntax in the Apache manual.