httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <>
Subject error-responses bugs
Date Tue, 04 Apr 1995 03:38:46 GMT

It looks like the error response mechanism stuff doesn't deal gracefully 
with a complete lack of Accept: headers if the requested object doesn't 

For example, with "ErrorDocument 404 /404.html" in srm.conf:

   totally 40% telnet 80 
   Connected to
   Escape character is '^]'.
   GET /sdaf HTTP/1.0

   Connection closed by foreign host.

error log reports for this transaction:
   [Mon Apr  3 19:37:59 1995] httpd: access to /export/pub/sdaf failed 
   for, reason: File not found; no multi in this directory

...but no 404 response.  However, adding a simple "Accept: text/html" to 
the request gets the right response.  

This is with 0.4 - I tried Rob's enhancements and still got this error.
I'm pretty sure just the GET line is a perfectly valid HTTP request, much 
to Roy's chagrin I'm sure :)  This is useful in debugging and such.



View raw message