Bug #411

typo in config file did not show up in a config-test

Added by Anonymous 1091 days ago. Updated 94 days ago.

Status:Need Feedback Start:
Priority:Normal Due date:
Assigned to:jan % Done:

0%

Category:core
Target version:-
Pending:

No

Resolution:


Description

simple-vhost.default-root = "grisu.home.kneschke.de"

did not generate a warning during the config test (note, root should read host)

Howver, when I started the daemon, I got a warning about an invalid config key (or some such)

simple-vhost.default-root = "grisu.home.kneschke.de"
nero# lighttpd -t -f lighttpd.conf
Syntax OK

nero# ./rc.d/lighttpd.sh restart
Stopping lighttpd.
Starting lighttpd.
nero# 2005-12-09 16:24:57: (server.c.693) WARNING: unknown config-key: simple-vhost.default-root (ignored)

Perhaps keys are not checked during startup?

lighttpd-1.4.8 (ssl) - a light and fast webserver
Build-Date: Dec 9 2005 10:54:27

-- eydaimon

History

12/10/2005 12:28 AM - Anonymous

adding myself to the CC

-- eydaimon

09/02/2008 12:54 AM - stbuehler

  • Status changed from New to Fixed
  • Resolution set to invalid

As some modules do more than just checking the syntax while loading the config, we won't change that. And the syntax of your file is ok...

09/02/2008 01:32 AM - Anonymous

  • Status changed from Fixed to Need Feedback
  • Resolution deleted (invalid)

Then I suggest that:

-t         test the config-file, and exit

is changed to read:

-t         test config-file for syntax errors, and exit

Also available in: Atom PDF