[openssl-commits] [web] master update

Rich Salz rsalz at openssl.org
Mon Jun 20 19:30:21 UTC 2016


The branch master has been updated
       via  3d5d9dbc173a0a9705884a47abad040c4499dc6d (commit)
      from  2ee997337d3cb9ebf6b7694d43380112b307b261 (commit)


- Log -----------------------------------------------------------------
commit 3d5d9dbc173a0a9705884a47abad040c4499dc6d
Author: Rich Salz <rsalz at akamai.com>
Date:   Mon Jun 20 15:30:04 2016 -0400

    Add static 404 error page.

-----------------------------------------------------------------------

Summary of changes:
 .htaccess   |  1 +
 err404.html | 42 ++++++++++++++++++++++++++++++++++++++++++
 robots.txt  |  2 +-
 3 files changed, 44 insertions(+), 1 deletion(-)
 create mode 100644 err404.html

diff --git a/.htaccess b/.htaccess
index 74aa4f3..f90f433 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,4 +1,5 @@
 RedirectMatch 404 .*/\.git/.*
+ErrorDocument 404 /err404.html
 
 Options +ExecCGI +FollowSymLinks
 
diff --git a/err404.html b/err404.html
new file mode 100644
index 0000000..4dc6b1e
--- /dev/null
+++ b/err404.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html lang="en">
+<!--#include virtual="/inc/head.inc" -->
+
+<body>
+  <!--#include virtual="/inc/banner.inc" -->
+
+  <div id="main">
+  <div id="content">
+    <div class="blog-index">
+      <article>
+	<header><h2>Page Not Found</h2></header>
+	<div class="entry-content">
+	  <p>
+          Sorry, but the link you gave does not exist.
+          </p>
+          <p>
+          To get the latest news about OpenSSL, download the source,
+          and so on, please see
+          the sidebar or the buttons at the top of every page.
+	  For more information about the
+          team and community around the project, or to start making
+          your own contributions, start with the
+          <a href="/community">community</a> page.
+	  </p>
+
+	</div>
+	<footer>
+	  You are here: <a href="/">Home</a>
+	  <br/><a href="/sitemap.txt">Sitemap</a>
+	</footer>
+      </article>
+    </div>
+    <!--#include virtual="sidebar.inc" -->
+  </div>
+</div>
+
+<!--#include virtual="/inc/footer.inc" -->
+</body>
+
+</html>
+
diff --git a/robots.txt b/robots.txt
index a46d84a..26c94e7 100644
--- a/robots.txt
+++ b/robots.txt
@@ -1,3 +1,3 @@
 User-agent: *
 Disallow: /source/old
-
+Disallow: err404.html


More information about the openssl-commits mailing list