Quick start


Assuming you have unzipped GOSERV.ZIP into the directory of your choice (for example, D:\GOSERVE), then:

  1. Open an OS/2 window
  2. Unzip the included file GOHTTP.ZIP to a different directory. To use the default setup, put this 'data directory' on the same drive as the first directory, and call it GOHTTP (for example, D:\GOHTTP).
  3. Change your current directory back to the GoServe directory (for example, D:\GOSERVE)
  4. Start GoServe with the parameter "http", for example using:
      start goserve http
    

You should then see a GoServe window (titled 'GoServe [HTTP]') appear. If there are no error messages, the server is now active, and you should be able to connect to the sample pages with any Web browser (available as a separate program). For example, if the name of your machine is "fred.hursley.ibm.com" (use the "hostname" command to find it out if you don't know it) then specifying a URL of "http://fred.hursley.ibm.com/" should display the sample home page.

Setting up an icon for GoServe

To set up an icon (program reference object) for a GoServe Web server and (optionally) ensure that GoServe is started automatically when OS/2 is booted:

  1. With your current directory being the GoServe directory (for example, D:\GOSERVE), run the command:
      makeicon http
    

    This should make an icon called 'GoServe - Web' appear on the Desktop. You can Move or drag it to another folder if you wish. The server can now be started by clicking on the new icon (you may want to check that this works).

  2. Open the Startup folder (this may be on the Desktop or in the 'OS/2 System' folder).
  3. Make a shadow of the GoServe icon in the Startup folder. To do this, hold down the Ctrl+Shift keys and then drag the icon to the Startup folder, drop it, and release Ctrl+Shift. (See the OS/2 documentation if you need more details.)

With the shadow in the Startup folder, the server will be started automatically whenever OS/2 is booted or rebooted.


[ previous section | GoHTTP | next section ]

From 'gohttp.doc', version 2.32.
Copyright © International Business Machines Corporation, 1994, 1995.
All rights reserved.