B
Brad Baker
We have a custom 404 error page setup so that when a 404 is generated the
user gets sent to redirect.asp. Redirect.asp sends a user back to
default.asp (or any other page specified)
One problem we have been experiencing is with poorly written webbot/spiders
getting hung up as follows:
bot indexes default.asp, gets a bad link, generates a 404
IIS sends bot to redirect.asp
redirect.asp sends bot back to default asp
bot reindexes links on default.asp until it gets to the bad link, generates
a 404, etc etc.
Loop forever
I'm looking for recommendations on how we can enhance redirect.asp to detect
loop conditions such as this. It goes without saying that we are trying to
come up with an approach that is semi-easy to implement and doesn't require
a lot of overhead.
Any thoughts would be greatly appreciated.
Thanks,
Brad
user gets sent to redirect.asp. Redirect.asp sends a user back to
default.asp (or any other page specified)
One problem we have been experiencing is with poorly written webbot/spiders
getting hung up as follows:
bot indexes default.asp, gets a bad link, generates a 404
IIS sends bot to redirect.asp
redirect.asp sends bot back to default asp
bot reindexes links on default.asp until it gets to the bad link, generates
a 404, etc etc.
Loop forever
I'm looking for recommendations on how we can enhance redirect.asp to detect
loop conditions such as this. It goes without saying that we are trying to
come up with an approach that is semi-easy to implement and doesn't require
a lot of overhead.
Any thoughts would be greatly appreciated.
Thanks,
Brad