Re: checklink:

On Tue, 2002-12-31 at 14:27, Chip Morris wrote:

> The W3C Link Checker returns three URLs as 404's (Not Found). Yet modern 
> browsers (Mozilla, IE5, IE6, Opera, etc.) find them just fine. What's up?

A HEAD request to
results in a 404 Not Found, see the attached dump from a request done by
my local copy of checklink.  The other two are similar cases.

Additionally, if the request is a GET without the "Host" HTTP header,
the URL above returns a redirect to a resource on a host named, which doesn't resolve.  If it's a HEAD
without a Host header, the resulting error page also contains a <base
href=...> also containing

"Modern browsers" usually do a GET with the Host header, that's why
they're not affected.

\/ille Skyttä
ville.skytta at
HEAD /arielpartners/content/public/home/resolver?nid=arielpartners&nss=topics/offerings/products/conflux HTTP/1.1
TE: deflate,gzip;q=0.3
Keep-Alive: 300
Connection: Keep-Alive, TE
Accept: application/xhtml+xml, text/html, */*;q=0.5
Accept-Language: *
User-Agent: W3C-checklink/ libwww-perl/5.65

HTTP/1.1 404 Not Found
Server: Zope/(Zope 2.5.1 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2) ZServer/1.1b1
Date: Fri, 03 Jan 2003 19:50:02 GMT
Ms-Author-Via: DAV
Bobo-Exception-File: ../lib/python/webdav/
Bobo-Exception-Type: Not Found
Content-Type: text/html
Accept-Ranges: none
Bobo-Exception-Value: bobo exception
Content-Length: 1867
Bobo-Exception-Line: 61

<base href="" />
<title>Ariel Partners Home Page</title></head><body bgcolor="#FFFFFF">

<table border="0" width="100%">
<tr valign="TOP">

<td width="10%" align="center">
<img src="" alt="Zope">

<td width="90%">
  <h2>Zope Error</h2>
  <p>Zope has encountered an error while publishing this resource.</p>
  <strong>Error Type: Not Found</strong><br>
  <strong>Error Value: The requested resource does not exist.</strong><br> 
  <hr noshade>
  <p>Troubleshooting Suggestions</p>

    <li>The URL may be incorrect.</li>
  <li>The parameters passed to this resource may be incorrect.</li>
  <li>A resource that this resource relies on may be encountering an error.</li>

  <p>For more detailed information about the error, please
  refer to the HTML source for this page.

  <p>If the error persists please contact the site maintainer.
  Thank you for your patience.

<p><a href="" target="_top"><img src="" width="115" height="50" border="0" alt="Powered by Zope" /></a></p></body></html>

Traceback (innermost last):
  File ../lib/python/ZPublisher/, line 150, in publish_module
  File ../lib/python/ZPublisher/, line 114, in publish
  File ../lib/python/Zope/, line 159, in zpublisher_exception_hook
    (Object: resolver)
  File ../lib/python/ZPublisher/, line 98, in publish
  File ../lib/python/ZPublisher/, line 88, in mapply
    (Object: HEAD)
  File ../lib/python/ZPublisher/, line 39, in call_object
    (Object: HEAD)
  File ../lib/python/webdav/, line 61, in HEAD
    (Object: resolver)
Not Found: (see above)


Received on Friday, 3 January 2003 14:58:09 UTC