Have this in your lighttpd.conf
server.errorfile-prefix = “/home/errorpages/”
Create this folder, create the files 404.html, 500.html, 403.html, etc. and lighttpd will deliver these file instead of the default message. The response header code is also correct.
Leave a Reply