Custom error pages in lighttpd

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.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *