Ticket #341 (assigned defect)

Opened 3 years ago

Last modified 10 months ago

setting default value for configuration file parameters

Reported by: anonymous Assigned to: moo (accepted)
Priority: normal Milestone: 1.5.0
Component: core Version: 1.3.x-svn
Severity: normal Keywords: configuration default setting
Cc: Blocking:
Need Feedback: 0

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)

Attachments

Change History

03/28/2006 03:36:58 AM changed by moo

  • owner changed from jan to moo.

03/28/2006 03:37:30 AM changed by moo

  • status changed from new to assigned.
  • milestone set to lighttpd-1.4.x.

09/07/2007 03:06:04 PM changed by moo

  • blocking changed.
  • pending changed.
  • milestone changed from 1.4.18 to 1.5.0.

09/07/2007 03:12:04 PM changed by moo

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


Add/Change #341 (setting default value for configuration file parameters)




Change Properties