Project

General

Profile

Actions

Bug #341

closed

setting default value for configuration file parameters

Added by Anonymous over 18 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

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)

Actions #1

Updated by moo about 18 years ago

  • Status changed from New to Assigned
Actions #2

Updated by moo over 16 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

Actions #3

Updated by der74hva3 over 14 years ago

  • File o1.html added
Actions #4

Updated by stbuehler over 14 years ago

  • File deleted (o1.html)
Actions #5

Updated by gstrauss over 7 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.

Actions

Also available in: Atom