Feature Proposal: redirect to configure unless when there is no configuration

Motivation

simplify the initial setup of a foswiki by making all functioning script URL's lead to the next step.

Description and Documentation

configure now is a two step process - easy, and very likely to guess right, but then we want the admin to return to configure a second time.

To guide that, we could make Foswiki::UI redirect to configure any time there is a configuration problem that would otherwise result in an 'Foswiki Installation Error' (as we have it now).

Possibilities
  1. redirect to configure if there is no LocalSite.cfg
  2. redirect to configure if there is a detected bad cfg (rare, but it makes it possible for admins to get sent to where they can fix things)
  3. redirect to configure if there is a non-terminal issue and an admin logs in (ok, i'd say this is going too far as the admin probly has somethig important to do..)
additionally, it would be nice to add a TemplateLogin UI to configure, so that if it detect that ApacheAuth was not used, the cfg's are still protected.

Examples

Impact

%WHATDOESITAFFECT%
edit

Implementation

-- Contributors: SvenDowideit - 12 Jul 2010

Discussion

Setting to Discarded Proposal. Configure and bootstrap have completely been redesigned, and this really no longer applies.

-- GeorgeClark - 16 Nov 2015
Topic revision: r2 - 16 Nov 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy