Making IsoStar Data Available via the CCDC Apache HTTP Server


Previous: Making IsoGen Available

The installation DVD provides the option to install an Apache HTTP server for IsoStar that is pre-configured for ease of use. We would recommend that users install the provided Apache HTTP server. If not installed with the other IsoStar software and data components, the Apache HTTP server can be installed later via IsoInstall script on the installation DVD.

Once installed, the CCDC Apache server can be started via the command:

/net/storage02/export/scratch/isostar/ISOSTAR_V2.2.2/isostar/APACHE/bin/ccdc_apache start
and stopped via
/net/storage02/export/scratch/isostar/ISOSTAR_V2.2.2/isostar/APACHE/bin/ccdc_apache stop

Once running, the IsoStar home page can be accessed by the hostname and port number entered during the APACHE server setup, for example:

http://myservername:8081

Making IsoStar Data Available via your own HTTP Server

  1. Installing an HTTP server
  2. Configuring your HTTP server for use with IsoStar Note: Access to IsoStar must be restricted to users at your site only.


    1. Installing an HTTP server

    If you need an HTTP server but do not have one then you can use Apache. This software can be obtained from the Apache Web site.


    2. Configuring an HTTP server for use with IsoStar

    Note: this section does not provide step-by-step instructions for configuring your HTTP server but hopefully provides the information necessary to perform this task.


    3. Install the IsoStar CGI Script

    IsoStar requires a CGI script to be executed via your HTTP server. The script enables users to hyperlink from IsoStar scatterplots to CSD and PDB entries.

    If you do not already have the ability to run CGI scripts via your server then you will need to specify a script directory with the ScriptAlias directive in the conf file. The ScriptAlias directive is detailed in Run-time configuration directives section of the Apache Reference Manual.

    To install the IsoStar CGI script:

    1. Copy the file
         <DVDROM>/httpd/cgi/isostar_server.cgi
      from the installation DVD-ROM to the script directory of your HTTP server where <DVDROM> is the mount point of the installation DVD-ROM.

      Check that permissions for this file allow any user to execute it.

    2. Edit isostar_server.cgi as follows:

      • Change ISOSTAR_ROOT to be:
           <isosoft>/isostar
        where <isosoft> is the location of the isostar directory containing an installation of the IsoStar software for the UNIX platform on which the HTTP server is running.

      • Edit <isosoft>/isostar/bin/xmlgen if necessary :

        • Check the contents of
             <isosoft>/isostar/bin/xmlgen
          This will contain a line beginning
             CCDC_TOOLKIT_ASER_DATABASE=
          If there is no directory path specified on this line, or if it is incorrect, then change it to indicate the directory that contains your CSD database files. This is likely to be equivalent to $CSDHOME/csd. Specify the full path to this directory and the base filename of the current CSD database it contains. For example:
          CCDC_TOOLKIT_ASER_DATABASE=/usr/local/cambridge/csd/as532be

    To test the CGI script, try accessing the following URLs:

    Replace your.server with the address of your HTTP server and <cgi-bin> with the location of the directory containing isostar_server.cgi (relative to the top directory of the HTTP server).

    The first two URLs should display OK in your browser window; the other two should display MOL2 files.


    Next: Obtaining the IsoStar Client Software