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.

Comments (0)

› No comments yet.

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Pingbacks (0)

› No pingbacks yet.