Hello,
I had a problem with Google Webmaster Tools reporting a 400 error for my robots.txt file.
I asked on a forum what this could mean and they replied saying that the agent that hit my site was using HTTP1.0 and the server didn't respond properly...here is an extract....
So my question is where on IIS6 do I configure the server to be compatible with all HTTP requesst from all UA's and why does the IIS server not respond correctly automatically.
Also are there any implications with making these changes?
All help understanding this and how to resolve it is much appreciated.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!
I had a problem with Google Webmaster Tools reporting a 400 error for my robots.txt file.
I asked on a forum what this could mean and they replied saying that the agent that hit my site was using HTTP1.0 and the server didn't respond properly...here is an extract....
When I set my WebBug to query any of the pages you mention and specify I want to send the request as HTTP Version 1.0 I get the following response from your server:
Code:HTTP/1.1 400 Bad Request Content-Type: text/html Date: Fri, 06 Jul 2007 13:12:34 GMT Connection: close Content-Length: 39 <h1>Bad Request (Invalid Hostname)</h1>
That shouldn't happen. It's completely fine for the server to reply with HTTP Ver 1.1 as it did, but it should send a 200 OK response and the file. For instance, if I do the same thing on my personal domain I get:
Code:HTTP/1.1 200 OK Date: Fri, 06 Jul 2007 13:14:11 GMT Server: Apache/2.0.52 (Red Hat) Last-Modified: Tue, 28 Nov 2006 01:42:34 GMT ETag: "5d08ed-5b8-c3a59680" Accept-Ranges: bytes Content-Length: 1464 Connection: close Content-Type: text/html
So my question is where on IIS6 do I configure the server to be compatible with all HTTP requesst from all UA's and why does the IIS server not respond correctly automatically.
Also are there any implications with making these changes?
All help understanding this and how to resolve it is much appreciated.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!