darkhttpd icon indicating copy to clipboard operation
darkhttpd copied to clipboard

Custom HTTP errors pages

Open saidbakr opened this issue 3 years ago • 2 comments

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

saidbakr avatar Feb 16 '22 00:02 saidbakr

I'd prefer to not carry the complexity of doing this. I think if you need custom error pages, you should probably be running a "real" / "production" webserver.

emikulic avatar Jan 25 '25 05:01 emikulic

I'd prefer to not carry the complexity of doing this. I think if you need custom error pages, you should probably be running a "real" / "production" webserver.

Indeed, I don't know exactly the type of complexity, but you may understand my idea, if you know that I do not know C programming language and I had implemented it through my fork

saidbakr avatar Feb 02 '25 18:02 saidbakr