Skip to content

Commit c071818

Browse files
committed
Updated the 500 and 404 error pages to contain the error message text used by Apache 2. Updated 404 style to match the new 500 page.
- Legacy-Id: 804
1 parent 7e51392 commit c071818

2 files changed

Lines changed: 30 additions & 14 deletions

File tree

ietf/templates/404.html

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,47 @@
11
{# Copyright The IETF Trust 2007, All Rights Reserved #}
22
{% extends "base.html" %}
3-
3+
{% load versiontags %}
44

55
{% block content %}
66
<center>
7-
<img src="/images/ietflogo2e.gif" height="160" width="280">
7+
<img src="/images/ietflogo2e.gif" height="80" width="140">
88
<br clear=all>
99

10-
<center><h1>The Internet Engineering Task Force</h1></center>
10+
<h2>The Internet Engineering Task Force</h2>
1111
<table border=0 cellspacing=5 cellpadding=5>
1212

1313
<br>
14-
<font size = 3>
1514
<center><img alt="" src="/images/blue-line.jpg"></center>
1615
<br clear=all>
17-
<h3>The page you are looking for cannot be found.</h3><br>
18-
If it is an Internet-Draft, the version may have expired.<br>
19-
Please visit <A HREF="http://search.ietf.org"> search.ietf.org</A> and enter in keywords or the name of the draft without the version numbers.
20-
16+
<h2>The page you were looking for couldn't be found.</h2>
17+
<div style="width:50%">
18+
The requested URL was not found on this server. If you entered the URL
19+
manually please check your spelling and try again.
20+
</div>
21+
<br>
2122
<br>
23+
24+
If you think this is a server error, please contact <a
25+
href="mailto:webtools@ietf.org">webtools@ietf.org</a>.
26+
2227
<br>
23-
For other Web page issues, please contact <a href="mailto:webmaster@ietf.org">webmaster@ietf.org</a>. <br>
2428
<br>
25-
<font size = 3>
29+
<!--
2630
<center><img alt="Blue Line" src="/images/blue-line.jpg"></center>
2731
<br clear=all>
2832
The IETF is an organized activity of the <a href="http://www.isoc.org"><img alt="ISOC" src="/images/isoc-small.gif" hspace="3" border="0"></A>
2933
3034
<br>
3135
3236
<hr>
33-
<i>The <A HREF="/secretariat.html">IETF Secretariat</A> is hosted by the NeuStar Secretariat Services, a wholly owned subsidiary of <a href="http://www.neustar.biz/"><img src="/images/NS_logo_100px.gif" alt="NeuStar Logo" border="0">
37+
<i>The <A HREF="/secretariat.html">IETF Secretariat</A> is hosted by the NeuStar Secretariat Services, a wholly owned subsidiary of <a href="http://www.neustar.biz/"><img src="/images/NS_logo_100px.gif" alt="NeuStar Logo" border="0"/></a></i>
38+
-->
39+
{% endblock %}
3440

35-
</i>
41+
{% block footer %}
42+
<hr/>
43+
<div style="width: 100%; height: 1em; font-size: 9pt; font-style: italic;">
44+
<span style="float: left;">Made with <a href="http://www.djangoproject.com/">django</a></span>
45+
<span style="float: right;">v{% version_num %}, {% revision_date %} - <a href="mailto:webtools@ietf.org">webtools@ietf.org</a></span>
46+
</div>
3647
{% endblock %}

ietf/templates/500.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ <h2>The Internet Engineering Task Force</h2>
1313
<br>
1414
<center><img alt="" src="/images/blue-line.jpg"></center>
1515
<br clear=all>
16-
<h1>Error 500</h1>
17-
<h2>Internal Server Error</h2>
16+
<h2>Internal Server Error.</h2>
17+
<div style="width:50%">
18+
The server encountered an internal error and was
19+
unable to complete your request. Either the server is
20+
overloaded or there was an error in a script used to
21+
generate the requested page.
22+
</div>
1823
<br>
1924
<br>
2025
Please contact <a href="mailto:webtools@ietf.org">webtools@ietf.org</a>. <br>

0 commit comments

Comments
 (0)