Restricting Access to Site with CGI
You all know me, but I'd thought I better remain anonymous on this one.
I have a problem with one individual accessing my website and I would like to stop him based on his IP address.
Any ideas on how can improve what I've done:
I have set up a dummy index.htm file, which does little except call the following script using:
<META HTTP-EQUIV="refresh"
CONTENT="0;URL=cgi-bin/counter.cgi">
where counter.cgi is a perl script which returns garbage for my foe and the address of the main page for everyone else.
Ideally I would like to restrict every page without causing problems to any other user. Nor do I want to restrict search engine crawling.
Any suggestions?