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

Gavin Atkinson gavin at
Mon Dec 24 18:38:25 UTC 2012

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
> > 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 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.


More information about the svn-doc-all mailing list