-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HAWNG-6: Adds custom 404 and 50x error pages
* Avoids revealing type or version of web server used by displaying custom error pages
- Loading branch information
1 parent
f6aa0b3
commit ebb28a9
Showing
6 changed files
with
59 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,13 @@ | ||
<div style="text-align: center"> | ||
<h1>Whoops!</h1> | ||
<p style="color: red; font-weight: bold;"> | ||
404 Page Not Found | ||
</p> | ||
<div> | ||
<span style="box-sizing:border-box;display:inline-block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative;max-width:100%"> | ||
<img alt="Hawtio Logo" src="/online/hawtio-logo.svg"> | ||
</span> | ||
</div> | ||
<p class=>Try <a title="Go to Hawtio Online" href="/online">Hawtio</a>. | ||
</p> | ||
</div> |
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,13 @@ | ||
<div style="text-align: center"> | ||
<h1>Whoops!</h1> | ||
<p style="color: red; font-weight: bold;"> | ||
A connection error occurred. | ||
</p> | ||
<div> | ||
<span style="box-sizing:border-box;display:inline-block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative;max-width:100%"> | ||
<img alt="Hawtio Logo" src="/online/hawtio-logo.svg"> | ||
</span> | ||
</div> | ||
<p class=>Try <a title="Go to Hawtio Online" href="/online">Hawtio</a>. | ||
</p> | ||
</div> |
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
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