build_redirect(const InternalServer& server, const std::string& redirectUrl);
diff --git a/static/templates/404.html b/static/templates/404.html
index e127f793c..501c6ebb3 100644
--- a/static/templates/404.html
+++ b/static/templates/404.html
@@ -9,5 +9,10 @@
The requested URL "{{url}}" was not found on this server.
+ {{#details}}
+
+ {{{details}}}
+
+ {{/details}}