Bug #341
closedsetting default value for configuration file parameters
Description
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.
something like:
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 17 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
Updated by gstrauss over 8 years ago
- Description updated (diff)
- Status changed from Assigned to Fixed
- Assignee deleted (
moo)
i'll make server.error-handler-404 and possibly other configs think "" is disabled like the default one
Fixed.
Also available in: Atom