Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id NAA12521; Wed, 27 Aug 1997 13:59:04 -0700 (PDT) Received: from sierra.zyzzyva.com (ppp0-sierra.zyzzyva.com [208.214.59.46]) by hyperreal.org (8.8.5/8.8.5) with ESMTP id NAA12469 for ; Wed, 27 Aug 1997 13:58:55 -0700 (PDT) Received: from sierra (localhost [127.0.0.1]) by sierra.zyzzyva.com (8.8.7/8.8.2) with ESMTP id PAA05056 for ; Wed, 27 Aug 1997 15:55:19 -0500 (CDT) Message-Id: <199708272055.PAA05056@sierra.zyzzyva.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: new-httpd@apache.org Subject: Re: Repost: [BUG] PR#1031: ErrorDocument with type-maps In-reply-to: Lars.Eilebrecht's message of Wed, 27 Aug 1997 21:20:34 +0200. X-uri: http://www.zyzzyva.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 27 Aug 1997 15:55:19 -0500 From: Randy Terbush Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org I don't think that type maps are supposed to be referenced directly. The .var mirrors another set of files similarly named giving clues on preferences for the avaliable file types. > Hi, > > after checking the stuff from PR#1031 it seems that something like > > ErrorDocument 404 /errors/foo.var > > really does not work (with foo.var being a type-map). > > It results in the famous ``Additionally, a 404 Not Found error was > encountered while trying to use an ErrorDocument to handle the request.'' > message. > > Using a MultiViews search with '/errors/foo' works... I'm using it myself. > > I've taken a quick look at the ErrorDocument stuff in http_request.c, but > can't see anything special. > The only thing that I noticed is that mod_negotiation issues an > internal_redirect() when a type-map file is used, but not when a > MultiViews search is used. > > Any ideas why ErrorDocuments to .var files are broken? > > > ciao... > -- > Lars Eilebrecht - "Turn off your mind, relax and float > sfx@unix-ag.org - down stream." (J. Lennon) > http://www.si.unix-ag.org/~sfx/