I had something interesting happen to me the last few days. I have an app
for many domains with one set of tafs with the usual table lookup to find
the site and set a user variable that points to custom variable for that
domain.

Well if someone tried to hit the site with an ip address instead of the
domain name, it would bypass dns and hit the web server. My TCF then tries
the table lookup and doesn't find it. It then corrupts all my custom
variables. Probably some coding logic. So what I want to do is redirect to a
"page not found" or something if the site is not found in the table lookup.
I already have a 404.taf that redirects if the domain is valid and the page
is missing.

I imagine it may be search engine spiders or hackers sequentially checking
ip addresses, so I would like the response back to be a traditional server
error if a page is not found.

Any suggestions?

Steve Fogelson
Internet Commerce Solutions


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to