Project

General

Profile

Bug #341

setting default value for configuration file parameters

Added by Anonymous almost 14 years ago. Updated about 3 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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)

History

#1

Updated by moo over 13 years ago

  • Status changed from New to Assigned
#2

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

#3

Updated by der74hva3 almost 10 years ago

  • File o1.html added
#4

Updated by stbuehler almost 10 years ago

  • File deleted (o1.html)
#5

Updated by gstrauss about 3 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