Project

General

Profile

Server error-handler-404Details » History » Revision 2

Revision 1 (Anonymous, 2006-08-10 13:34) → Revision 2/10 (Anonymous, 2006-08-10 23: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. 

     Default: not set 

     Example: :: 

       

     {{{ 
 server.error-handler-404 = "/error-404.php" 
 }}} 


 == See Also 
 ======== == 

  * [wiki:server.errorfile-prefixDetails server.errorfile-prefix option <http://trac.lighttpd.net/trac/wiki/server.errorfile-prefixDetails> option] 
  * [http://blog.lighttpd.net/articles/2005/08/28/spice-up-for-error-page Spice Up Error Page (Blog) <http://blog.lighttpd.net/articles/2005/08/28/spice-up-for-error-page>  

 }}} (Blog)]