Re:Should Apache replace its current httpd.conf with Lua?
by antirez on Thursday September 10, 2009 @10:30AM
(#815301)
I think that config files should be simple to write DSLs, and not programming languages. For automation what is really needed is an API exported by Apache via some kind of networking (a TCP socket could do the work) that allows to configure and change the behavior at run-time via a scripting language. This way you have the best of both the words.
[ Parent
| on HN ]
Re:Should Apache replace its current httpd.conf with Lua?
by ciupicri on Thursday September 10, 2009 @07:13PM
(#816413)
Have you looked at Augeas http://augeas.net ?
Augeas is:
- An API provided by a C library
- A command line tool to manipulate configuration from the shell (and shell scripts)
- Language bindings to do the same from your favorite scripting language
- Canonical tree representations of common configuration files
- A domain-specific language to describe configuration file formats