Feature #1353
closedImproving the -t command line option to warn about unknown and depecated options
Description
I just tried to start r1992 using a config file that contained the deprecated proxy-core.check-local option, which made it fail to start. However, I only got the error message when starting with the -D option; using -t to check the config file didn't tell me about it as the pure syntax of the file was ok.
It like to see the -t option enhanced so that it:
1. Performs the current test
2. If that passes, then loads the configured modules
3. Then checks that all options in the configuration file have actually been registered by a module and are not deprecated
4. If this also passes, calls a "test" API function in each loaded module for the module to test for problems specific to its configuration such as nonsensical combinations of configuration options.
Updated by jrabbit about 17 years ago
Oops - forgot to login before reporting this.
Updated by gstrauss over 8 years ago
- Description updated (diff)
- Assignee deleted (
jan) - Missing in 1.5.x set to Yes
lighttpd 1.4.40 has the -tt option to do all of the above, except for the additional non-existent "test" API
Also available in: Atom