Place it after server.document-root, either in the main section or in your virtual host sub-sections...
server.error-handler-404 = "/index.php?error=404"
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
server.error-handler-404 = "/index.php?error=404"
server.error-handler-404 = "/wordpress/index.php?error=404"
2005-11-29 20:05:08: (connections.c.1383) Warning: Either the error-handler returned status 404 or the error-handler itself was not found: /team/index.php?error=404 2005-11-29 20:05:08: (connections.c.1385) returning the original status 404 2005-11-29 20:05:08: (connections.c.1387) If this is a rails app: check your production.log
You need to create an account or log in to post comments to this site.
» Redirect domain.com requests... in lighttpd rewrite hosts redirect
» My lighttpd php-fastcgi conf... in php fastcgi lighttpd
» Automatic sub-domains with l... in lighttpd virtualhosting subdomains mod_evhost
» Typo under lighttpd in lighttpd ruby rails typo ruby-fcgi
» Lighttpd proxy with Tracd sp... in lighttpd trac tracd proxy vhost
» Using HTTP conditions and ur... in lighttpd http conditionals url.access-deny blocks security
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails
but instead just