svn commit: r40439 - head/en_US.ISO8859-1/htdocs

Hiroki Sato hrs at FreeBSD.org
Mon Dec 24 19:18:35 UTC 2012


Glen Barber <gjb at FreeBSD.org> wrote
  in <20121224190248.GF1440 at glenbarber.us>:

gj> On Mon, Dec 24, 2012 at 01:46:30PM -0500, Glen Barber wrote:
gj> > > The issue here is that the page itself is generated containing relative
gj> > > links, so that even though it may end up beingdisplayd as
gj> > > http://www.freebsd.org/test/test for example, the page still contains
gj> > > relative links such as:
gj> > >
gj> > > <link rel="stylesheet" media="screen" href="./layout/css/fixed.css?20121213" type="text/css" />
gj> > > <a href="./about.html">About</a>
gj> > >
gj> > > none of which exist relative to /test/test
gj> > >
gj> > > I don't know the correct solution to this, though.
gj> > >
gj> >
gj> > Ugh.  I didn't notice the CSS originally.  Thanks.
gj> >
gj> > Perhaps a 404 rewrite to /4xx.html would be best.
gj> >
gj>
gj> On second though, we can skip the XML->HTML build for this page, and
gj> hard-code the css entries.  This should solve it all around, as I don't
gj> expect this page to be modified very much.

 This should be fixed at r40473.  The translated ones have to use the
 language-dependent base URIs, though.

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-doc-all/attachments/20121225/5558d411/attachment.sig>


More information about the svn-doc-all mailing list