Add a 404 page handler so we can use a presentable 404 message instead

of the stock message.

Requested by:	db
This commit is contained in:
Glen Barber 2012-12-20 21:55:44 +00:00
parent 2d930362b5
commit a338441d29
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40439
2 changed files with 23 additions and 0 deletions
en_US.ISO8859-1/htdocs

View file

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
"http://www.FreeBSD.org/XML/doc/share/xml/xhtml10-freebsd.dtd" [
<!ENTITY title "Page not found.">
]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>&title;</title>
<cvs:keyword xmlns:cvs="http://www.FreeBSD.org/XML/CVS">$FreeBSD$</cvs:keyword>
</head>
<body class="navinclude.about">
<h2>Oh no.&nbsp;:(</h2>
<p>We could not find the page you requested.</p>
<p>Please try your request again, or use one of the links in
the navigation menu.</p>
</body>
</html>

View file

@ -25,6 +25,7 @@ DOCS+= relnotes.xml
DOCS+= send-pr.xml
DOCS+= support.xml
DOCS+= where.xml
DOCS+= 4xx.xml
XMLDOCS= index:xsl:${XML_NEWS_NEWS}:
DEPENDSET.index=transtable mirrors news press events \