aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-09 12:00:36 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-09 12:00:36 +0100
commit991cfe259e2b4a5eeab6e25319846b1dcd091c9d (patch)
tree2dc0514911bb8752b56dfc20775cd2457115355a
parentTry treating Gentoo Bugzilla short URLs as local in see also (diff)
downloadbugzilla-991cfe259e2b4a5eeab6e25319846b1dcd091c9d.tar.gz
bugzilla-991cfe259e2b4a5eeab6e25319846b1dcd091c9d.tar.bz2
bugzilla-991cfe259e2b4a5eeab6e25319846b1dcd091c9d.zip
Add a custom 500 error page explaining attaching problemsgentoo-5.0.6.22
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--500.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/500.html b/500.html
new file mode 100644
index 000000000..180b9d51d
--- /dev/null
+++ b/500.html
@@ -0,0 +1,37 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
+<html><head>
+<title>500 Internal Server Error</title>
+</head><body>
+<h1>Internal Server Error</h1>
+<p>The server encountered an internal error or
+misconfiguration and was unable to complete
+your request.</p>
+
+<h2>If you were trying to attach a file...</h2>
+
+<p>If you were trying to attach a file (especially a build log), please
+verify that you have <em>read permissions</em> to that file. Browsers
+tend not to implement error handling, and instead submit a malformed
+request when they cannot read the file.</p>
+
+<p>If this is the case, please use chmod or chown to ensure that your
+user can read the file, and try again. Most browsers support
+resubmitting the request without losing data through refreshing the page
+(<kbd>F5</kbd> or <kbd>Ctrl+R</kbd>).</p>
+
+<p>For more details, please see this Firefox bug report from 2008:
+<a rel="external" href="https://bugzilla.mozilla.org/show_bug.cgi?id=426177">
+Should give error message when file upload fails due to insufficient permissions
+</a>.</p>
+
+<h2>Otherwise...</h2>
+
+<p>Please contact the server administrator at
+ webmaster@gentoo.org to inform them of the time this error occurred,
+ and the actions you performed just before this error.</p>
+<p>More information about this error may be available
+in the server error log.</p>
+
+<hr>
+<address>Apache Server at bugs.gentoo.org Port 443</address>
+</body></html>