setting default value for configuration file parameters
By default, lighttpd will spit out "404- Not Found" unless you set error-handler-404 to something else. There needs to be a way to set it to the default value (like if you use virtual hosts) again, just in case it has already been set.
server.error-handler-404 = DEFAULT
would be nice. I tried setting it like this:
server.error-handler-404 = ""
and it just redirected to the document root "/", which was not helpful. I also tried NULL, NIL null, nil...
I am using 1.3.16.
(btw, error-use-syslog doesn't work in this version)
Updated by moo about 12 years ago
i don't think it possible to do DEFAULT in an easy way for 1.4. but config handling system is not upgraded to 1.5.0 yet which we have planned to move all config handling into core. so it's not doable in 1.5.0 either. i'll make server.error-handler-404 and possibly other configs think "" is disabled like the default one
Also available in: Atom