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. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Calling CGI scriptsCGI 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 parametersParameters associated with an alias are passed to CGI scripts as environment variables. |
Security considerationsvqServer 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.03. Copyright © 1997-98 vqSoft and Steve Shering. Last updated 13 May 1998. |
![]() ![]() ![]() ![]() ![]() |