vqServer CGI scripts


CGI scripts are a common way of adding extra functions and capabilities to web servers. CGI scripts are programs which run on a web server computer in response to requests from web browsers. CGI scripts can be written in any language supported by your computer (although they are most often written in PERL).

vqServer implements version 1.1 of the CGI interface.

Although vqServer handles CGI script calls efficiently, Java servlets are an inherently more efficient way of extending a server's capabilities. This is explained in detail on the JavaSoft web site. vqSoft therefore recommends using Java servlets instead of CGI scripts if possible.

vqServer
Register (free!)
Support

Contents

Java servlets
File types

Parameters
Security

Calling CGI scripts

CGI scripts are invoked by typing the appropriate alias in the Address box of a web browser or by clicking on a link on a web page (which sends an alias to the web server). vqServer expects the real name corresponding to the alias to match cgidir/progname.ext (see the Aliases page). progname.ext must be a file which can be executed by your computer. For example, on MS-DOS systems, progname must be a .exe, .com or .bat file.

CGI scripts and alias parameters

Parameters associated with an alias are passed to CGI scripts as environment variables.

Security considerations

vqServer doesn't impose any restrictions whatsoever on CGI script activity. For example CGI scripts can read, write and delete any file on your computer. So make sure that any CGI scripts you deploy on your web site come from a reputable source or are thoroughly debugged.


vqServer version 1.06. Copyright © 1997-98 vqSoft and Steve Shering. Last updated 31 October 1998.

vqServer
Contents
CGI scripts

Java servlets
File types