-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding customized error pages with a specific api for error handling
- Loading branch information
1 parent
95c775c
commit 4551106
Showing
6 changed files
with
222 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
<meta http-equiv="cache-control" content="no-cache" /> | ||
<meta http-equiv="pragma" content="no-cache" /> | ||
<meta name="robots" content="none" /> | ||
<meta name="googlebot" content="noarchive" /> | ||
<title>Access forbidden</title> | ||
<style type="text/css"> | ||
body { | ||
background-color:#e6e6e6; | ||
font-family:Calibri; | ||
text-align:center; | ||
} | ||
#wrapper { | ||
background:#fff; | ||
width:492px; | ||
position:relative; | ||
margin-left:auto; | ||
margin-right:auto; | ||
text-align:left; | ||
border:3px solid #999; | ||
overflow:hidden; | ||
padding: 30px; | ||
border-bottom-right-radius: 16px; | ||
border-bottom-left-radius: 16px; | ||
} | ||
#wrapper p { | ||
padding:5px; | ||
} | ||
</style> | ||
</head> | ||
<body lang=EN> | ||
<div id="wrapper"> | ||
<img src="https://www.georchestra.org/public/logos/georchestra_logo.png" alt="geOrchestra" /> | ||
<p>Sorry, access to this page is forbidden. Return to the <a href="/">homepage</a>.</p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
<meta http-equiv="cache-control" content="no-cache" /> | ||
<meta http-equiv="pragma" content="no-cache" /> | ||
<meta name="robots" content="none" /> | ||
<meta name="googlebot" content="noarchive" /> | ||
<title>Page not found</title> | ||
<style type="text/css"> | ||
body { | ||
background-color:#e6e6e6; | ||
font-family:Calibri; | ||
text-align:center; | ||
} | ||
#wrapper { | ||
background:#fff; | ||
width:492px; | ||
position:relative; | ||
margin-left:auto; | ||
margin-right:auto; | ||
text-align:left; | ||
border:3px solid #999; | ||
overflow:hidden; | ||
padding: 30px; | ||
border-bottom-right-radius: 16px; | ||
border-bottom-left-radius: 16px; | ||
} | ||
#wrapper p { | ||
padding:5px; | ||
} | ||
</style> | ||
</head> | ||
<body lang=EN> | ||
<div id="wrapper"> | ||
<img src="https://www.georchestra.org/public/logos/georchestra_logo.png" alt="geOrchestra" /> | ||
<p>Page not found. Return to the <a href="/">homepage</a>.</p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
<meta http-equiv="cache-control" content="no-cache" /> | ||
<meta http-equiv="pragma" content="no-cache" /> | ||
<meta name="robots" content="none" /> | ||
<meta name="googlebot" content="noarchive" /> | ||
<title>Site en maintenance</title> | ||
<style type="text/css"> | ||
body { | ||
background-color:#e6e6e6; | ||
font-family:Calibri; | ||
text-align:center; | ||
} | ||
#wrapper { | ||
background:#fff; | ||
width:492px; | ||
position:relative; | ||
margin-left:auto; | ||
margin-right:auto; | ||
text-align:left; | ||
border:3px solid #999; | ||
overflow:hidden; | ||
padding: 30px; | ||
border-bottom-right-radius: 16px; | ||
border-bottom-left-radius: 16px; | ||
} | ||
#wrapper p { | ||
padding:5px; | ||
} | ||
</style> | ||
</head> | ||
<body lang=FR> | ||
<div id="wrapper"> | ||
<img src="https://www.georchestra.org/public/logos/georchestra_logo.png" alt="geOrchestra" /> | ||
<p> | ||
Due to maintenance, this service is temporarily unavailable. | ||
</p> | ||
<p>We're sorry for the inconvenience !</p> | ||
<p>Hint: do not close the tab - the requested page will show up in a few seconds.</p> | ||
</div> | ||
</body> | ||
<script> | ||
window.setTimeout(function() {window.location.href = window.location.href}, 5000); | ||
</script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
<meta http-equiv="cache-control" content="no-cache" /> | ||
<meta http-equiv="pragma" content="no-cache" /> | ||
<meta name="robots" content="none" /> | ||
<meta name="googlebot" content="noarchive" /> | ||
<title>Site en maintenance</title> | ||
<style type="text/css"> | ||
body { | ||
background-color:#e6e6e6; | ||
font-family:Calibri; | ||
text-align:center; | ||
} | ||
#wrapper { | ||
background:#fff; | ||
width:492px; | ||
position:relative; | ||
margin-left:auto; | ||
margin-right:auto; | ||
text-align:left; | ||
border:3px solid #999; | ||
overflow:hidden; | ||
padding: 30px; | ||
border-bottom-right-radius: 16px; | ||
border-bottom-left-radius: 16px; | ||
} | ||
#wrapper p { | ||
padding:5px; | ||
} | ||
</style> | ||
</head> | ||
<body lang=FR> | ||
<div id="wrapper"> | ||
<img src="https://www.georchestra.org/public/logos/georchestra_logo.png" alt="geOrchestra" /> | ||
<p> | ||
Due to maintenance, this service is temporarily unavailable. | ||
</p> | ||
<p>We're sorry for the inconvenience !</p> | ||
<p>Hint: do not close the tab - the requested page will show up in a few seconds.</p> | ||
</div> | ||
</body> | ||
<script> | ||
window.setTimeout(function() {window.location.href = window.location.href}, 5000); | ||
</script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
<meta http-equiv="cache-control" content="no-cache" /> | ||
<meta http-equiv="pragma" content="no-cache" /> | ||
<meta name="robots" content="none" /> | ||
<meta name="googlebot" content="noarchive" /> | ||
<title>Site en maintenance</title> | ||
<style type="text/css"> | ||
body { | ||
background-color:#e6e6e6; | ||
font-family:Calibri; | ||
text-align:center; | ||
} | ||
#wrapper { | ||
background:#fff; | ||
width:492px; | ||
position:relative; | ||
margin-left:auto; | ||
margin-right:auto; | ||
text-align:left; | ||
border:3px solid #999; | ||
overflow:hidden; | ||
padding: 30px; | ||
border-bottom-right-radius: 16px; | ||
border-bottom-left-radius: 16px; | ||
} | ||
#wrapper p { | ||
padding:5px; | ||
} | ||
</style> | ||
</head> | ||
<body lang=FR> | ||
<div id="wrapper"> | ||
<img src="https://www.georchestra.org/public/logos/georchestra_logo.png" alt="geOrchestra" /> | ||
<p> | ||
Due to maintenance, this service is temporarily unavailable. | ||
</p> | ||
<p>We're sorry for the inconvenience !</p> | ||
<p>Hint: do not close the tab - the requested page will show up in a few seconds.</p> | ||
</div> | ||
</body> | ||
<script> | ||
window.setTimeout(function() {window.location.href = window.location.href}, 5000); | ||
</script> | ||
</html> |