List of configuration forms
Welcome to the Generic Configuration Form Manager.
Generic Configuration Form Manage (GCFM) is a small web server
which provides some web service to update configuration
file. A web-service skeleton is provide in directory
skel as an example to develop specific
configuration file editor. Mostly one need to customize the
help tab message and the import/export function in the
script.inc.js file.
Moreover, GCFM also provides a form to configure the
minimalist web server in order to enable configuration editor
services. It allows to:
-
load the web server configuration file from a server,
-
save a modified web server configuration file to a server,
-
apply modification on server (usually,it restart a daemon),
-
import a web server configuration file from local file-system,
-
export a modified configuration to local file-system,
-
and, obviously, to change alias name, directory name,
configuration file name and service description of installed
configuration file editors.
The user interface is split into 5 area. On top and in the
bottom, there are descriptive header and footer. On left there
a menu panel follow by a short sub area displaying useful
tricks. The central area shows main information and control
button. Just between this area and the footer, there's a
status bar to display informative messages and errors.
Introduction
There's, on the left side, a menu containing from 3 to 7 buttons. The
first one, named "List", shows a tab containing the list of
available configuration forms and action buttons. For common
users, here is the list of direct links to configuration
editors. The second one, named "Help", shows a tab containing
current information message. The third button, named "Edit",
switches to the editor tab where entry forms are present to
update alias name, directory name, configuration file name and
service description of installed configuration file
editors. Other buttons are linked to direct actions such as.
-
the "Load" button which is used to load the configuration file
from a server,
-
the "Save" button which is used to save a modified configuration
file to a server,
-
the "Apply" button which is used to apply modification on
server as it usually restart a daemon to take into account
of last changes,
-
the "Import" button which is used to import a configuration file
from local file-system,
-
the "Export" button which is used to export a configuration file
to local file-system.
Last button allows to log in (or out) and edit system configuration.
Alias file format
Alias file format is CSV format where dash (#) can be used
to comment end of line. Each line is composed of five fields
separated by a semicolon (;):
-
the first one is the alias name, used to serve a
configuration form,
-
the second one is the directory name containing files
served for the corresponding alias,
-
the third one is the configuration file which is edited
by the form,
-
the forth one is a description used by the main page to
provide a understandable list of forms,
-
and the last one, is a specific command to be executed on
apply order.
Special cases:
-
if the alias name is empty and the last field contains
':title:', the description field is used to customize the
page title,
-
if the alias name is empty, the description field is used
as a header line,
-
if the config file name is empty and the last field contains
':goto:', , the alias field is used to define a redirection
button,
-
if the config file name is empty, the last field is used
to define an action button,
-
if the description field is empty, the line will not be
displayed; usually, it define the CSV configuration file
of a XCFE form,
-
if the function field contains ':refresh:', the server will
re-read its alias file.
General condition of usages
Generic Configuration Form Manager is free software; you can
redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later
version.