next up previous 89
Next: Modifying the configuration file
Up: Creating a Configuration File
Previous: URL query

Installing and testing the configuration file

Installing and testing the configuration file should be quite straightforward. The servers
simpleserver.cgi and secondserver.cgi should be installed (see Section [*], above). Then proceed as follows.

  1. Edit the configuration file and change the URLs for the servers simple@roe and second@roe to correspond to wherever you have installed the servers.

  2. A Perl script to check a configuration file for errors is included with the example files for this document. To check that you have not introduced any errors whilst editing the example configuration file type:

    /star/examples/ssn75/checkcfg  simpleconfig.cfg

    (If the example files are not in their standard location on a Starlink system then obviously you need to alter the directory specification accordingly. Also, on non-Starlink systems you might need to edit the first line of checkcfg to correspond to wherever Perl is installed on your system.) If the configuration file is valid then checkcfg will report:

    Configuration file parsed successfully.

    Conversely, if it contains errors then messages describing the problems will be reported. checkcfg is described in Section [*].

  3. Start GAIA and test the server. To import the configuration file into GAIA click on the Data-Servers button on the right hand side of the main menu bar and choose the Browse Catalog Directories option. A window showing the catalogues available should appear. Click on the File button at the left of its top menu bar and choose the Load Config file... option. A window allowing you to select the required file should then appear.

    Once the configuration file has been loaded you can choose from amongst its catalogues and make selections in the normal fashion. If you make a selection from the simple example server a list of objects similar to Figure [*] should be returned.



next up previous 89
Next: Modifying the configuration file
Up: Creating a Configuration File
Previous: URL query

Writing Catalogue and Image Servers for GAIA and CURSA
Starlink System Note 75
A.C. Davenhall
26 July 2000
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils