From dd11a45108b42042aec88e3c5d74063a0852a1fc Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 8 Feb 2015 19:25:10 +0100 Subject: [PATCH] improve error pages, add 403 --- nsupdate/templates/400.html | 5 +++-- nsupdate/templates/403.html | 5 +++++ nsupdate/templates/404.html | 5 +++-- nsupdate/templates/500.html | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 nsupdate/templates/403.html diff --git a/nsupdate/templates/400.html b/nsupdate/templates/400.html index 84e2b7f..ed06205 100644 --- a/nsupdate/templates/400.html +++ b/nsupdate/templates/400.html @@ -1,3 +1,4 @@ -

400

+

400 Bad Request

+ +This kind of request is not allowed. -Sorry :( we screwed up. diff --git a/nsupdate/templates/403.html b/nsupdate/templates/403.html new file mode 100644 index 0000000..6fde9da --- /dev/null +++ b/nsupdate/templates/403.html @@ -0,0 +1,5 @@ +

403 Forbidden

+ +Sorry, this is not allowed (for you). + +If you did not login yet, try logging in. diff --git a/nsupdate/templates/404.html b/nsupdate/templates/404.html index fa581c7..d3462cf 100644 --- a/nsupdate/templates/404.html +++ b/nsupdate/templates/404.html @@ -1,3 +1,4 @@ -

404

+

404 Not found

+ +Nothing to see here. -Sorry :( we screwed up. diff --git a/nsupdate/templates/500.html b/nsupdate/templates/500.html index 9b9f03b..025ef88 100644 --- a/nsupdate/templates/500.html +++ b/nsupdate/templates/500.html @@ -1,3 +1,3 @@ -

500

+

500 Internal Server Error

Sorry :( we screwed up.