Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2012 14:02:48 -0500
From:      Glen Barber <gjb@FreeBSD.org>
To:        Gavin Atkinson <gavin@FreeBSD.org>
Cc:        svn-doc-head@FreeBSD.org, svn-doc-all@FreeBSD.org, Hiroki Sato <hrs@FreeBSD.org>, doc-committers@FreeBSD.org
Subject:   Re: svn commit: r40439 - head/en_US.ISO8859-1/htdocs
Message-ID:  <20121224190248.GF1440@glenbarber.us>
In-Reply-To: <20121224184630.GE1440@glenbarber.us>
References:  <201212202155.qBKLtjo0029127@svn.freebsd.org> <20121224.185149.1228484919356183643.hrs@allbsd.org> <20121224140552.GA1440@glenbarber.us> <alpine.BSF.2.00.1212241826000.27184@thunderhorn.york.ac.uk> <20121224184630.GE1440@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Dec 24, 2012 at 01:46:30PM -0500, Glen Barber wrote:
> > 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:
> > 
> > <link rel="stylesheet" media="screen" href="./layout/css/fixed.css?20121213" type="text/css" />
> > <a href="./about.html">About</a>
> > 
> > none of which exist relative to /test/test
> > 
> > I don't know the correct solution to this, though.
> > 
> 
> Ugh.  I didn't notice the CSS originally.  Thanks.
> 
> Perhaps a 404 rewrite to /4xx.html would be best.
> 

On second though, we can skip the XML->HTML build for this page, and
hard-code the css entries.  This should solve it all around, as I don't
expect this page to be modified very much.

Glen


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBCAAGBQJQ2KbYAAoJEFJPDDeguUajb7YIAK/Q2RG1dEOcBxXBdMMOZBJs
7Wdg2W4YFfWlfYAjOAC8o4HNPhw9740teLPeWcVD/iEkt8WVIzxj1MMyOsOWKnyF
UoTb5KVC3WEayrbFP0vbNsiLHirFej1nOCpZkhqKQO1Buixfj8FbkCb5uLJTy37I
nuzi2qguoSbLKfFyX37aw6uV/wvuOkjj954xSXTTM2jK8IBjYx876JOkzrJk4ArE
Ousf61Lj4ppbdv8QbTgce38ccLIfNUchYmfHPIzN4gcWRixb7ezrgdZv+vlNCKbQ
nDEzuz0UqHRVTwCnZgaCWqUybpeNge46vmZ01wm9FmR/G6a2J9KyJjekjI/1mrE=
=rZhy
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121224190248.GF1440>