Actions
Server error-handler-404Details » History » Revision 1
Revision 1/10
| Next »
Anonymous, 2006-08-10 13:34
duplicating the page because of the typo
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
* [wiki:server.errorfile-prefixDetails server.errorfile-prefix option]
* [http://blog.lighttpd.net/articles/2005/08/28/spice-up-for-error-page Spice Up Error Page (Blog)]
Updated by Anonymous over 18 years ago · 1 revisions