![]() |
No indexing IIS 6 Win 2003 Server
I spend many time to find out what the problems are with the NEW IIS 6 at Windows 2003 Server.
PHPDIG don“t indexing IIS 6 Websites at the moment. I also try to index a IIS 6 Sites from a Linux-System - same result. (email me, I sent you the web-page to test it.) Results of indexing: ### IIS 6 - Log file #### #Fields: date time c-ip c-session cs(Referer) sc-Protocol sc-uri sc-status 2003-09-18 19:41:27 62.142.48.115 1033 217.160.xx.xx 80 HTTP/1.1 HEAD /robots.txt 400 - BadRequest 2003-09-18 19:41:27 62.141.48.115 1034 217.160.xx.xx 80 HTTP/1.1 HEAD // 400 - BadRequest 2003-09-18 19:41:27 62.141.48.115 1035 217.160.xx.xx 80 HTTP/1.1 HEAD / 400 - BadRequest 2003-09-18 19:41:27 62.141.48.115 1036 1217.160.xx.xx 80 HTTP/1.1 HEAD /robots.txt 400 - BadRequest op=HEAD arg=http://www.my-domain.de/ result="400 Bad Request" ## Windows 2003 Monitoring ### <-> Filter: http ---------------------------------- HTTP: HEAD Request from Client HTTP: Request Method =HEAD HTTP: Uniform Resource Identifier =// HTTP: Protocol Version =HTTP/1.1 HTTP: Host =www.my-domain.de HTTP: Accept = */* HTTP: Accept-Charset = iso-8859-1 HTTP: Accept-Encoding =identity HTTP: User-Agent =PhpDig/1.6.2 (PHP; MySql) ------ HTTP: Response to Client; HTTP/1.1; Status Code = 400 - Bad Request HTTP: Protocol Version =HTTP/1.1 HTTP: Status Code = Bad Request HTTP: Reason =Bad Request HTTP: Content-Length =20 HTTP: Content-Type =text/html HTTP: Connection =close I will also ask in a Win-Newsgroups to get the reasons for this. I read some other problems with Error 400: does phpdig use allowed HTTP RFC Commands: see: RFC 2616 -Roland- |
Hi. With HEAD [your_site]/robots.txt HTTP/1.1 it produces the following:
Content-Length: 24 The robots.txt file contains the following: Code:
User-agent: * What do you get? |
ok is deleted. You can try again. Its just the same in my tests.
-Roland- |
Hi. Please can you post the results like you did above? Maybe there will be something in there, or are the results just like those above?
|
Hmm, Monitor-Log is only possible if i start this 2 sec before i dig.
This is wrong - IMHO !! robot_functions.php Line 286 Code:
$request = with LF ('\n')? LF is wrong in RFC - Each header ends with a CRLF !! See: http://www.w3.org/Protocols/rfc2616/...c2.html#sec2.2 Quote:
|
Hi. I believe the problem is that the script uses \n and your machine needs \r\n.
Please try this to fix the problem: First make a backup of the robot_functions.php file. Then in robot_functions.php, do the following:
I think that's all of them that absolutely need to be changed. I also think you could just do a search and replace, changing all \n to \r\n in the files. As a general rule of thumb, I believe it's like this for different OS: Windows uses \r\n Macintosh uses \r *nix uses \n |
Quote:
|
Thanks :)
I think it should change in the next Version it is conform to RFC - and if users update they can fix this again I wrote above: See: http://www.w3.org/Protocols/rfc2616/...c2.html#sec2.2 Quote:
-Roland- |
All times are GMT -8. The time now is 08:34 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.