The whois application comprises 3 files:

-1- whois: This is the cgi. This file prints the form and then when the user submits (through the
search button), parses the input, sends the query to whois server via a socket connection, listens for
the output from the socket and prints the results to the html page.

-2- whois.html: This is a static html file. It is the simple query screen saved into raw html. It is
used to prevent overloading on the server because users will first use this static page when using
whois, which in turn calls the cgi script. 

-3- whoishelp.html: This is used as the help form when users have disabled javascript on their
browsers. The cgi relies on js being enabled so popup boxes can be displayed containing the help text
for the query options on the advanced form. If js is disabled, then the popup boxes cannot be
displayed so instead when the help text hyperlinks are clicked, this page is displayed.

Each of these files needs to go to a seperate directory on the production webserver as follows:

whois -> /var/www/perl -mode=0751 
whois.html -> /var/www/pub/ripencc/pub-services/db -mode=0664
whoishelp.html -> /var/www/pub/ripencc/pub-services/db/whois -mode=0644

There is only one installation step:

  make install

Via the install command parameters in the Makefile, the files are installed to the correct directories with correct modes. Ownerships is left to the installing ops person to configure manually.
