This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/comdev-people.git
The following commit(s) were added to refs/heads/main by this push:
new 89d4738 Try to improve 404 UX
89d4738 is described below
commit 89d4738813b5c389c3e3b666a1307defd9d48755
Author: Sebb <[email protected]>
AuthorDate: Wed Jun 25 20:46:23 2025 +0100
Try to improve 404 UX
---
.gitignore | 9 +++------
html/keys/committer/.htaccess | 1 +
html/keys/committer/404.html | 15 +++++++++++++++
3 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/.gitignore b/.gitignore
index b5acefd..f849e0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,12 +17,9 @@
# /html/keys/
/html/keys/*.log
-# /html/keys/committer/
-/html/keys/committer/.*
-/html/keys/committer/*.*
-
-# /html/keys/group/
-/html/keys/group/*.asc
+# /html/keys/committer/ - mostly generated files
+/html/keys/committer/index.html
+/html/keys/committer/*.asc
# /html/public/
/html/public/*.json
diff --git a/html/keys/committer/.htaccess b/html/keys/committer/.htaccess
new file mode 100644
index 0000000..3764343
--- /dev/null
+++ b/html/keys/committer/.htaccess
@@ -0,0 +1 @@
+ErrorDocument 404 /keys/committer/404.html
diff --git a/html/keys/committer/404.html b/html/keys/committer/404.html
new file mode 100644
index 0000000..cc4e5d8
--- /dev/null
+++ b/html/keys/committer/404.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html lang="en-US">
+ <head>
+ <meta charset="utf-8">
+ <title>Not Found</title>
+ </head>
+ <body>
+ <h1>Not Found</h1>
+ <h2>No such file</h2>
+ <p>
+ There is no such keys file.
+ Please check the <a href="/keys/committer/">Index</a>
+ </p>
+ </body>
+</html>