Hello. I have just finished spending two hours reading the super long thread on .htaccess. What an unbelievable resource! I found out everything I needed to know for banning by I.P. and banning by user agent. But I couldn't find anything on banning by a host name (where a host name shows up in my stats instead of an I.P.).
This nasty thing:
Host name equals: ar-gw.example.super.pl
has requested over 2 gigabytes of bandwidth in 9 visits and I would like to block it.
Secondly, how could I test if I did it right? I have used wannabrowser in the past but that seems to be for user agent.
Thanks in advance! Really amazed at the discussions I read on .htaccess here.
[edited by: jdMorgan at 3:32 am (utc) on Oct. 25, 2003] [edit reason] examplified URL [/edit]