NetBSD Problem Report #40699

From reed@reedmedia.net  Fri Feb 20 13:42:48 2009
Return-Path: <reed@reedmedia.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id C8C2563B8C3
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 20 Feb 2009 13:42:48 +0000 (UTC)
Message-Id: <21413-1235137367@reedmedia.net>
Date: Fri, 20 Feb 2009 07:42:47 -0600
From: reed@reedmedia.net
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.NetBSD.org
Subject: CSS for 404 page problem when multiple levels deep
X-Send-Pr-Version: 3.95

>Number:         40699
>Category:       misc
>Synopsis:       CSS for 404 page problem when multiple levels deep
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    www
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 20 13:45:00 +0000 2009
>Closed-Date:    Sun Jul 31 09:27:34 +0000 2011
>Last-Modified:  Sun Jul 31 09:27:34 +0000 2011
>Originator:     reed@reedmedia.net
>Release:        NetBSD 4.99.62
>Organization:
>Environment:


>Description:

Stylesheet missing for 404 page.

Can see at:
http://www.netbsd.org/foundation/press/foo
but 
http://www.netbsd.org/foundation/foo works as expected.

Uses .. for relevative references. Even links don't work, like:
        <a href="../mailinglists/">
          Mailing lists</a> 
becomes
http://www.netbsd.org/foundation/mailinglists/

>How-To-Repeat:

>Fix:
Don't use relative .. references. But then how will it work for mirrors
that don't have same top document root? Or does that matter?

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: misc-bug-people->www
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Fri, 20 Feb 2009 20:28:00 +0000
Responsible-Changed-Why:
Web site issue.


From: "Marc Balmer" <mbalmer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40699 CVS commit: htdocs/errors
Date: Sun, 31 Jul 2011 09:10:35 +0000

 Module Name:	htdocs
 Committed By:	mbalmer
 Date:		Sun Jul 31 09:10:35 UTC 2011

 Modified Files:
 	htdocs/errors: index.xml

 Log Message:
 Override the style element locally so that 404 errors use a root relative
 path to the CSS style sheet.  Fixes PR 40699.


 To generate a diff of this commit:
 cvs rdiff -u -r1.59 -r1.60 htdocs/errors/index.xml

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: mbalmer@NetBSD.org
State-Changed-When: Sun, 31 Jul 2011 09:27:34 +0000
State-Changed-Why:
The error page uses a root relative path for the style sheet now.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.