From nobody@hyperreal.com Sun Dec 29 23:13:33 1996 Received: by taz.hyperreal.com (8.8.3/V2.0) id XAA10592; Sun, 29 Dec 1996 23:13:33 -0800 (PST) Message-Id: <199612300713.XAA10592@taz.hyperreal.com> Date: Sun, 29 Dec 1996 23:13:33 -0800 (PST) From: Klaus Johannes Rusch Reply-To: KlausRusch@atmedia.net To: apbugs@hyperreal.com Subject: Server Error with some ErrorDocument directives X-Send-Pr-Version: 3.2 >Number: 64 >Category: config >Synopsis: Server Error with some ErrorDocument directives >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Dec 29 23:20:01 1996 >Last-Modified: Thu Jan 23 16:45:56 PST 1997 >Originator: KlausRusch@atmedia.net >Organization: >Release: 1.1.1 >Environment: >Description: Using ErrorDocument directives for some error codes seem to cause a server error when redirecting to a local script. ErrorDocument 403 /server/error_document.cgi works fine whereas ErrorDocument 410 /server/error_document.cgi causes a server failure. >How-To-Repeat: I assume it's sufficient to edit .htaccess to include any response codes Apache doesn't use. >Fix: Ignore unknown response codes >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: fielding State-Changed-When: Thu Jan 23 16:45:55 PST 1997 State-Changed-Why: ErrorDocument only works with response codes that are known to the server. Apache 1.2 will support the complete set of HTTP/1.1 response codes. However, non-standard response codes must be added to the tables in http_protocol.c and httpd.h before they can be used with ErrorDocument. >Unformatted: