From nobody@hyperreal.com Mon Feb 24 16:41:51 1997 Received: by taz.hyperreal.com (8.8.4/V2.0) id QAA01143; Mon, 24 Feb 1997 16:41:51 -0800 (PST) Message-Id: <199702250041.QAA01143@taz.hyperreal.com> Date: Mon, 24 Feb 1997 16:41:51 -0800 (PST) From: Magnus Stenman Reply-To: stone@hkust.se To: apbugs@hyperreal.com Subject: ErrorDocument in Virtual host override ErrorDocument in Main host. X-Send-Pr-Version: 3.2 >Number: 194 >Category: config >Synopsis: ErrorDocument in Virtual host override ErrorDocument in Main host. >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Feb 24 16:50:00 1997 >Last-Modified: Fri Mar 7 08:53:58 PST 1997 >Originator: stone@hkust.se >Organization: >Release: 1.2b7 >Environment: Linux 1.2.29 (RedHat 4.1) >Description: I set: ErrorDocument 404 /cgi-bin/missing-handler in srm.conf Works fine. Then I add ErrorDocument 404 /rebuild.html in a VirtualHost section in httpd.conf Now when a 404 errors occur on either host (main or virtual) /rebuild.html is used. Since they have different DocumentRoots it won´t work. >How-To-Repeat: Set the ErrorDocument directives in srm.conf and in a VirtualHost section of httpd.conf. Request a non-existing document from the main host. >Fix: Sorry, I´m not that good at C >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: marc State-Changed-When: Wed Feb 26 19:03:29 PST 1997 State-Changed-Why: Verified. Should have a patch for testing soon; will let you know when it is available. State-Changed-From-To: analyzed-closed State-Changed-By: coar@decus.org State-Changed-When: Fri Mar 7 08:53:57 PST 1997 State-Changed-Why: A patch to correct this has been verified and checked in to the master sources. The fix should be available in the next release after 1.2b7. Thanx for reporting this and for using Apache! >Unformatted: