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

Glen Barber gjb at FreeBSD.org
Mon Dec 24 19:02:51 UTC 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-doc-all/attachments/20121224/718cd356/attachment.sig>


More information about the svn-doc-all mailing list