httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 57167] New: ErrorDocument has no effect for some error codes
Date Thu, 30 Oct 2014 15:51:41 GMT

            Bug ID: 57167
           Summary: ErrorDocument has no effect for some error codes
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core

Created attachment 32168
Add support for ErrorDocument with some error codes

If I specify, e.g.:

ErrorDocument 414 /error.html

and request some absurdly long URI, I get the canned error response page. I
couldn't find any reason in the code why we can't support ErrorDocument for
some of these error codes.

The patch attached has some smell to it, but it's the easiest way to get it
working for the 414 code. Anything more reasonable seems like it would need a
refactor of read_request_line().

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message