From owner-svn-doc-head@FreeBSD.ORG Mon Dec 24 18:46:36 2012 Return-Path: Delivered-To: svn-doc-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F2DBBA9E; Mon, 24 Dec 2012 18:46:35 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from onyx.glenbarber.us (onyx.glenbarber.us [IPv6:2607:fc50:1000:c200::face]) by mx1.freebsd.org (Postfix) with ESMTP id B16648FC15; Mon, 24 Dec 2012 18:46:35 +0000 (UTC) Received: from glenbarber.us (75.97.144.133.res-cmts.sewb.ptd.net [75.97.144.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: gjb) by onyx.glenbarber.us (Postfix) with ESMTPSA id 9634B23F763; Mon, 24 Dec 2012 13:46:32 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.7.1 onyx.glenbarber.us 9634B23F763 Authentication-Results: onyx.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Date: Mon, 24 Dec 2012 13:46:30 -0500 From: Glen Barber To: Gavin Atkinson Subject: Re: svn commit: r40439 - head/en_US.ISO8859-1/htdocs Message-ID: <20121224184630.GE1440@glenbarber.us> References: <201212202155.qBKLtjo0029127@svn.freebsd.org> <20121224.185149.1228484919356183643.hrs@allbsd.org> <20121224140552.GA1440@glenbarber.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dFWYt1i2NyOo1oI9" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-doc-head@FreeBSD.org, svn-doc-all@FreeBSD.org, Hiroki Sato , doc-committers@FreeBSD.org X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2012 18:46:36 -0000 --dFWYt1i2NyOo1oI9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 24, 2012 at 06:31:43PM +0000, Gavin Atkinson wrote: > 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 > > >=20 > > > This does not work for invalid URLs with deeper levels like > > > http://www.freebsd.org/test/test because all of URL references are > > > relative. > > >=20 > >=20 > > 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. >=20 > I suspect that the handler is set up correctly. >=20 > The issue here is that the page itself is generated containing relative= =20 > links, so that even though it may end up beingdisplayd as=20 > http://www.freebsd.org/test/test for example, the page still contains=20 > relative links such as: >=20 > > About >=20 > none of which exist relative to /test/test >=20 > I don't know the correct solution to this, though. >=20 Ugh. I didn't notice the CSS originally. Thanks. Perhaps a 404 rewrite to /4xx.html would be best. Glen --dFWYt1i2NyOo1oI9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBCAAGBQJQ2KMGAAoJEFJPDDeguUajWwgIAKwYPOoKFhzeToMNA0mMjNQK MJWAJgDPhRP/caNY0rWDp4CseyVSPWnZCFDZhV2mj1Oc8MN3kn7APsdQmGgC8ZE1 bofa9PVevQLdXsabg3bd6cvwAuTGRbBNeJxt5m7Qg56SRK21YR/nUzZ65NWcqhvy rMcM0DeAybWRn/ruSaMgPmYotJKjQHCkle6X6bGS3Rxws/AyLICa77U7m1nYqbee NX5KVT6DfMM//yG3uvlyxbPKLVDRALQZTAajfy2JSor/Ti1P+BpwMb7nG6QBC3Gk 6hNauEemW3jRxlkZSUfRRb7a+sLSXXt/ZUthKp7ZXXCTpag5Erv9yqiVC9PIlSE= =xRIH -----END PGP SIGNATURE----- --dFWYt1i2NyOo1oI9--