Project

General

Profile

Actions

Feature #1004

closed

Consider using Lua as the configuration file language.

Added by Anonymous about 18 years ago. Updated over 16 years ago.

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

Description

Consider using Lua as the configuration file language.

Lighttpd already uses and supports Lua for some things (e.g. mod_magent). However, there are a lot of other things that are really ad-hoc, like the lighttpd configuration file which has a number of quirks and limitations.

It would be possible to support this while still keeping backwards compatibility, by simply having a Lua configuration function that can include legacy configuration files, so people only need to upgrade if they want to (e.g. they could keep their old setup and just have their master Lua configuration file just including their old config file).

Doing this also has the advantage that it would simultaneously solve almost every open bug against configuration file quirks, since everything would just be driven by Lua.

Anyway, please consider this, even if it's for 1.5.x or 1.6.x =)

-- wjl

Actions #1

Updated by MikhailMiguel over 17 years ago

Please, staff: don't forget it!
Is a really great idea!

Actions #2

Updated by stbuehler over 16 years ago

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

The 1.x config system is the limitation, not the config file itself. so lua wouldn't help there.

in 2.0 there will be a new config system with a lua frontend. but for 1.x this is a wontfix.

Actions #3

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Wontfix
Actions

Also available in: Atom