Add custom error pages

Adapted from I2PPlus with permission, same license.
This commit is contained in:
zzz
2025-06-03 11:21:14 -04:00
parent e8e193ec73
commit 708c61eb78
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.