From owner-svn-doc-all@FreeBSD.ORG Mon Dec 24 18:38:25 2012 Return-Path: Delivered-To: svn-doc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E01E9F6; Mon, 24 Dec 2012 18:38:25 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw11.york.ac.uk (mail-gw11.york.ac.uk [144.32.129.150]) by mx1.freebsd.org (Postfix) with ESMTP id 067EB8FC13; Mon, 24 Dec 2012 18:38:24 +0000 (UTC) Received: from ury.york.ac.uk ([144.32.108.81]:24770) by mail-gw11.york.ac.uk with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1TnCoS-00051l-0l; Mon, 24 Dec 2012 18:31:44 +0000 Date: Mon, 24 Dec 2012 18:31:43 +0000 (GMT) From: Gavin Atkinson X-X-Sender: gavin@thunderhorn.york.ac.uk To: Glen Barber Subject: Re: svn commit: r40439 - head/en_US.ISO8859-1/htdocs In-Reply-To: <20121224140552.GA1440@glenbarber.us> Message-ID: References: <201212202155.qBKLtjo0029127@svn.freebsd.org> <20121224.185149.1228484919356183643.hrs@allbsd.org> <20121224140552.GA1440@glenbarber.us> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: svn-doc-head@FreeBSD.org, svn-doc-all@FreeBSD.org, Hiroki Sato , doc-committers@FreeBSD.org X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2012 18:38:25 -0000 On Mon, 24 Dec 2012, Glen Barber wrote: > On Mon, Dec 24, 2012 at 06:51:49PM +0900, Hiroki Sato wrote: > > gj> Log: > > gj> Add a 404 page handler so we can use a presentable 404 message instead > > gj> of the stock message. > > gj> > > gj> Requested by: db > > > > This does not work for invalid URLs with deeper levels like > > http://www.freebsd.org/test/test because all of URL references are > > relative. > > > > Hmm. The 404 error page handler should be "/4xx.html", not "4xx.html". > I'll ping webmaster to see what the actual configuration entry is. I suspect that the handler is set up correctly. The issue here is that the page itself is generated containing relative links, so that even though it may end up beingdisplayd as http://www.freebsd.org/test/test for example, the page still contains relative links such as: About none of which exist relative to /test/test I don't know the correct solution to this, though. Gavin