https://issues.apache.org/bugzilla/show_bug.cgi?id=57167

            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
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 32168
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32168&action=edit
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to