The Default Page
You can either call a program to create a page to display
in your browser or you can create a default page that will
be displayed whenever the document root directory is requested.
For ease of use, a text based page will be created. It will
be called index.htm since that is the current default for
the document root directory.
In your favorite HTML editor or text editor type the following
lines and save the file as index.htm in the Superbase Internet
document root directory (E:\Quarterdeck\WebSTAR\DOCTREES\sb).
<HTML>
<HEAD>
<TITLE>Project 1</TITLE>
</HEAD>
<BODY>
Click on the button to launch the Project 1 program.
<FORM METHOD="post" ACTION="/cgi-win/sbhtml.exe?PROJ1.PROJ1">
<INPUT TYPE="submit" VALUE="Click here!">
</FORM>
</BODY>
</HTML>
This will create a basic HTML page with some text and a button.
The button will launch a program (PROJ1.sbp) and a sub routine
(PROJ1). If you want to check it out to see what the page
looks like, go to your WEB browser and type the URL for the
document root (http://192.0.1.2:82) and hit return. (DON'T
click on the button yet because the PROJ1.SBP hasn't been
created yet.)
The <FORM METHOD="post" ACTION="/cgi-win/sbhtml.exe?PROJ1.PROJ1">
(The parameters PROJ1.PROJ1 are case sensitive.) section of
the page tells the WEB server to go to the cgi-win directory
and run the program sbhtml.exe with the parameters PROJ1.PROJ1.
|