Forum Moderators: open
How do I fix it, so IIS returns proper code? I went through site properties bout found nothing I could tweak.
Here's an example where I don't have a robots.txt on server.
2007-07-17 15:03:30 W3SVC1 xx.x.xx.xx GET /robots.txt - 80 - 65.55.215.51 msnbot/1.0+(+http://search.msn.com/msnbot.htm) - - 200 0 0 382 159 15
[edited by: Receptional_Andy at 1:57 pm (utc) on July 20, 2007]
Problem is that my 404 page is not static html page. It's an ASP page
Simple fix then - explicitly set a 404 header within your ASP page:
Response.Status = "404 Not Found"