lighttpd 503处理

http://blog.lighttpd.net/articles/2005/08/28/spice-up-for-error-page

http://blogs.atlassian.com/developer/2007/05/lighttpd_as_a_front-end_for_atlassian_applications.html

Normally that's all there is to it. However, during restarts of the application server lighttpd will show a default 503 (service unavailble) error page. As this is a normal maintenance event we want something a bit more informative. This is simple enought; just create a directory to hold the custom error page (I put it in /etc/lighttpd/error-html) and add a page called '503.html' with the custom message. Then add the line:

server.errorfile-prefix = "/etc/lighttpd/error-html/"

你可能感兴趣的:(html,.net,Blog,lighttpd,UP)