Forum Moderators: DixonJones

Message Too Old, No Replies

Banning a domain from an IIS site?

Can this be done by a newbie such as myself?

         

wintercornuk

9:12 am on Jun 14, 2004 (gmt 0)

10+ Year Member



I signed up for a news feed from a well known British Broadcasting Corporation a few months ago. I have since decided not to use it, but they are constantly appearing on my site, sometimes several times a day. This fills my logs with their various spiders.

I run a site on IIS, can I ban/bounce them somehow?

Staffa

3:14 pm on Jun 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you put their UA in your robots.txt file with Dissallow?

digitalv

3:22 pm on Jun 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can ban their IP address in IIS, but it would be just as easy to do a redirect with ASP. Send them back to their own page :)

...

If request.servervariables("REMOTE_ADDR") = "their.IP.Address.number" Then
response.redirect "http://www.theirdomain.com"
End If

Let them spider their own site.

wintercornuk

3:41 pm on Jun 14, 2004 (gmt 0)

10+ Year Member



The problem is that the spider is not a spider, or at least doesn't seem to be. It only shows a subdomain/domain.

Can robots.txt be used to ban by domain/IP?

I also don't have access to the raw ASP pages as I'm using a hosted cart.