Actions
Server error-handler-404Details » History » Revision 2
« Previous |
Revision 2/10
(diff)
| Next »
Anonymous, 2006-08-10 23:16
turned to REST
{{{
#!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.
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 over 18 years ago · 2 revisions