emikulic / darkhttpd

When you need a web server in a hurry.
https://unix4lyfe.org/darkhttpd/
ISC License
1.03k stars 83 forks source link

Custom HTTP errors pages #19

Open saidbakr opened 2 years ago

saidbakr commented 2 years ago

Like mimetypes option, it would be nice to have an option such as --customerrors that points to a router like file that points to custom errors page, something like below:

404  path/to/error404.html
500  path/to/error500.html