1693 change webapp config to improve maintainability.