Actions
Server error-handler-404Details » History » Revision 3
« Previous |
Revision 3/10
(diff)
| Next »
Anonymous, 2007-09-20 15:16
{{{
#!rst
server.error-handler-404 option ===============================
server.error-handler-404
uri to call if the requested file results in a 404. You can use a dynamic or static page for the handler.
The actual status-code sent back to client is 200 if handler uri is successful. If you want to send a 404 status code please use server.errorfile-prefix, however server.errorfile-prefix does not allow dynamic handlers (or use "header" function to set 404 status code if your error page is in PHP).
Default: not set
Example: ::
server.error-handler-404 = "/error-404.php"
See Also ========
- server.errorfile-prefix option <http://trac.lighttpd.net/trac/wiki/server.errorfile-prefixDetails>
- Spice Up Error Page (Blog) <http://blog.lighttpd.net/articles/2005/08/28/spice-up-for-error-page>
}}}
Updated by Anonymous about 17 years ago · 3 revisions