Skip to content

Commit

Permalink
improve error pages, add 403
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Feb 8, 2015
1 parent b87babb commit dd11a45
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
5 changes: 3 additions & 2 deletions nsupdate/templates/400.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<h1>400</h1>
<h1>400 Bad Request</h1>

This kind of request is not allowed.

Sorry :( we screwed up.
5 changes: 5 additions & 0 deletions nsupdate/templates/403.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<h1>403 Forbidden</h1>

Sorry, this is not allowed (for you).

If you did not login yet, try logging in.
5 changes: 3 additions & 2 deletions nsupdate/templates/404.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<h1>404</h1>
<h1>404 Not found</h1>

Nothing to see here.

Sorry :( we screwed up.
2 changes: 1 addition & 1 deletion nsupdate/templates/500.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h1>500</h1>
<h1>500 Internal Server Error</h1>

Sorry :( we screwed up.

0 comments on commit dd11a45

Please sign in to comment.