[Prev] [Next] [Top] [Bottom] [Contents] (4 out of 6)

Web Administration

Configuring the Default Tool Options

There is a default configuration file which holds the default options for any user of Sapphire/Web that doesn't have a configuration file in their home directory. Setting these options will help new users to get up and running. The configuration file is:

sapphire_home/config/Sapphire.cfg
Note: Pay particular attention to the following option values:

:

Note: When building World Wide Web applications, users do not generally have to login, with a username and password. Therefore, a CGI that generates an HTML document needs a built-in user name and password. The guest user account is generally very limited as far as what it can do to the database.
Remember, Project Options are default hard-coded values in the generated CGIs.¯they can be changed on a per project basis, or by prompt.
There are sample values in the Sapphire.cfg file that can be used for reference. It is strongly recommended to use the #user and #proj keywords when defining these options. For further information on modifying this file, see Chapter 3, Project Options, of the Reference Manual.

Note: Beware of users overwriting each other's CGIs and HTML documents. This will happen if they are all copied to the same directory by the users. It is a good idea to have separate directories for each user, and to educate them on setting the Project Options on a per project basis.

Configuring Support Tools

There are many shell scripts that come with Sapphire/Web which extend its power and flexibility. They permit the user to select an HTML Authoring tool, select a Web Browser, install CGIs and HTML, perform source control tasks, and more. See the Chapter 3 of the Reference Manual for a detailed explanation of these scripts as well as functions of the scripts delivered with the tool.

Note: If you do not have Netscape 1.1N (or later) installed on your system you must change the sabrowser.sh script. See Chapter 3 of the Reference Manual for details.


[Prev] [Next] [Top] [Bottom] [Contents] (4 out of 6)