CGI Script Installation
A CGI Script is a simple program that runs on a Web Server when an HTML page
sends a request through the CGI protocol.
For this reason, in the installation folder of QuizFaber there are the following files:
· QmakeCGI.pl
· QmakeCGIQuery.pl
They are two simple CGI Script (their size is less than 100 KByte) written in PERL
language. They should be installed on the Web server only for the first time.
The installation is quite simple:
· Change the first line of QmakeCGI.pl and QmakeCGIQuery.pl to the
location of PERL on your system.
· Change the second line of QmakeCGI.pl and QmakeCGIQuery.pl to the
absolute directory (also called home directory) where you want to place
the archive file, that will be created and managed by the scripts.
· Copy the scripts in the cgi-bin directory of your server (usually inside the
Web server installation directory), or upload them using FTP.
· Change the file permission (chmod) of the scripts. In particular use the
commands: "chmod 755 QmakeCGI.pl" and "chmod 755 QmakeCGI.pl"
(permission owner: all; permission group and public: read and execute).
Note:
· In case of doubts or other questions, first contact your system
administrator (if he exists) or consult the handbook of the Web server.
· Unlike previous CGI scripts (called QmakeCGI.exe and
QmakeCGIQuery.exe), these scripts can be executed by most of servers
(that run on many operating systems), provided that your server supports
Perl language.
· For QuizFaber users who are using old scripts such as QmakeCGI.exe and
QmakeCGIQuery.exe, I suggest updating with a new script, because old
scripts will not be supported in new versions. Before doing so, I suggest
to do a backup of your old archives. Moreover, the new scripts are
compatible with old file archives, and add new features.
· QmakeCGI.pl and QmakeCGIQuery.pl are given as source code, they can
be used and modified free of charge by anyone as long as the copyright
notice and comments in the head of file remain intact. If you modify the
code (for example, you add a new feature or write a best code), ask for
consent the author concerned.