You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by mi...@apache.org on 2016/12/03 20:44:32 UTC

couchdb-www git commit: add 404 page

Repository: couchdb-www
Updated Branches:
  refs/heads/asf-site 37d727df6 -> 4be5cd444


add 404 page


Project: http://git-wip-us.apache.org/repos/asf/couchdb-www/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-www/commit/4be5cd44
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-www/tree/4be5cd44
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-www/diff/4be5cd44

Branch: refs/heads/asf-site
Commit: 4be5cd4444f6426148deca076a461b3511eb5992
Parents: 37d727d
Author: michellephung <mi...@gmail.com>
Authored: Sat Dec 3 12:35:08 2016 -0500
Committer: michellephung <mi...@gmail.com>
Committed: Sat Dec 3 15:41:27 2016 -0500

----------------------------------------------------------------------
 .htaccess        |   1 +
 404/404couch.jpg | Bin 0 -> 149006 bytes
 404/error.html   |  28 ++++++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-www/blob/4be5cd44/.htaccess
----------------------------------------------------------------------
diff --git a/.htaccess b/.htaccess
index f2cda43..4c6416f 100644
--- a/.htaccess
+++ b/.htaccess
@@ -6,3 +6,4 @@ RedirectMatch /roadmap http://couchdb.apache.org/
 RedirectMatch /screenshots http://couchdb.apache.org/
 RedirectMatch /search http://couchdb.apache.org/
 RedirectMatch /security http://couchdb.apache.org/
+ErrorDocument 404 http://couchdb.apache.org/404/error.html

http://git-wip-us.apache.org/repos/asf/couchdb-www/blob/4be5cd44/404/404couch.jpg
----------------------------------------------------------------------
diff --git a/404/404couch.jpg b/404/404couch.jpg
new file mode 100644
index 0000000..5d9076d
Binary files /dev/null and b/404/404couch.jpg differ

http://git-wip-us.apache.org/repos/asf/couchdb-www/blob/4be5cd44/404/error.html
----------------------------------------------------------------------
diff --git a/404/error.html b/404/error.html
new file mode 100644
index 0000000..af74647
--- /dev/null
+++ b/404/error.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <style>
+      body {
+        margin: 0px;
+        background: url(404couch.jpg) no-repeat center center fixed;
+        background-size: 80%;
+      }
+
+      h3 {
+        margin: 0;
+        background: #dbd114;
+        position: absolute;
+        top: 80%;
+        left: 70%;
+        margin-right: -70%;
+        transform: translate(-70%, -80%);
+        max-width: 50%;
+     }
+    </style>
+  </head>
+  <body>
+    <h3>
+      The page you were looking for is probably in there somewhere, but we can't find it right now.
+    </h3>
+  </body>
+</html>