httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44656] New: Tries to retrive error document 404 instead of 406 when negotiation fails
Date Sat, 22 Mar 2008 19:51:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44656

           Summary: Tries to retrive error document 404 instead of 406 when
                    negotiation fails
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_negotiation
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: aleksandersen+issues.apache.org@runbox.com


I looked trough my error logs and discovered this problem:
> Negotiation: discovered file(s) matching
> request: /var/www/organservice/organrepairs (None could be negotiated). 
> File does not exist: /var/www/shared/errors/404
This happend at the same time from the same host/user.

Should not this have trigger a 406 Negotiation Failed responds instead of 
a 404 Not Found? Apache understands that the request could not be 
negotiated, but the next line says it did not find the not found error 
document.

My configuration clarly spesifies “ErrorDocument 
406 /var/www/shared/errors/406” which does exist. The 404 page, 
ironically enough, does not exsist. The error documents must be 
negotiated.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message