Add custom error pages
Some checks failed
Java CI / build (push) Has been cancelled
Java CI / javadoc-latest (push) Has been cancelled
Java CI / build-java7 (push) Has been cancelled
Java with IzPack Snapshot Setup / setup (push) Has been cancelled
Sync Primary Repository to GitHub Mirror / sync (push) Has been cancelled

Adapted from I2PPlus with permission, same license.
This commit is contained in:
zzz
2025-06-03 11:21:14 -04:00
parent b8121336d8
commit f2d2652ba6
6 changed files with 421 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,17 @@
Put your custom error pages here.
The following files are recognized:
- 4nn.html, 5nn.html (for example, 404.html)
Served for that specific error code
- "4xx.html"
Served for any error code 400-499 not matched above
- "5xx.html"
Served for any error code 500-599 not matched above
- "000.html"
Served for any error code not matched above
These error pages are only for the base context.
The CGI context has its own error handler.