Make your own free website on Tripod.com

CGI Test Program Usage

The Visual Basic 3.0 run time DLL that came with your Quarterdeck WebServer system must be installed to run these test programs.This DLL (VBRUN300.DLL) should have been installed into your Windows System directory as part of the WebServer installation process.

Return to the demonstration page


The CGI test program is a Visual Basic application that returns dynamically generated documents which report on various aspects of the CGI interface. It also serves as an example of using the Visual Basic CGI interface that is included with the server.

To generate a particular report, add "extra path information" to the URL. The test program interprets this as a "selector" for the report and returns the selected report. The valid selectors are:

CGI
Reports the values of the CGI/1.1 variables as passed by the server to the back-end.
Headers
Reports the MIME Accept: types and any "extra" headers that were received from your browser.
Form
Use this on a URL that is the target for a Mosaic form. It reports the keywords and fully decoded contents of each of your form's fields.
Transparent
This causes a short document to be returned directly from the Visual Basic program to your browser, without interpretation by the server. This is an illustration of the server's "transparent return" feature.
Empty - no extra path
Causes this document to be returned by sending a one-line response from the test program to the server that consists of "Location: /cgitest.htm". In other words, a URL with "cgitest.exe" as the target gives usage information.

Examples

/cgi-win/cgitest.exe/CGI 
/cgi-win/cgitest.exe/CGI?Query+Info+Here 
/cgi-win/cgitest.exe/Headers 
/cgi-win/cgitest.exe/Transparent 

If your browser supports forms, you should see a form below. Fill it out and choose the Submit button. The form's ACTION option is:

ACTION="/cgi-win/cgitest.exe/Form"

The "search on" field supports multiple selections. Try it and see how the server handles decoding it. Here is the form:


Employee Locator Search on (multiple)

which

the following:

Case-sensitive


Return to the demonstration page