WebHostingSolutions.com
For the World's Most Important Web Site - YOURS!

VPS v2 Support Documentation

VPS v2 CGI Library: whois

A very nice addition to the web site of a company which specializes in web hosting is an InterNIC Whois database query. We have created a CGI to allow you to include such a query on your Web site.

Installation

To install the query CGI on your Virtual Private Server you will need to do the following:

  1. Download the Query Form

    You will need to download the Internic Database Query form HTML source and store it somewhere in your ~/www/htdocs directory structure. Feel free to customize the form, add graphics, etc., but be sure that the variable name for the input field is not altered.

  2. Copy the whois directory

    As the root user, copy the whois directory from the /usr/local/share/contrib/ directory on your VPS v2 to the appropriate cgi-bin for the domain that will be using the script. Make sure to change the file ownership to the correct user.

  3. Customize the Appearance of the Query CGI

    Two subroutines in the util.pl file are used to print out header and footer information. These functions are print_header_info and print_footer_info. Feel free to modify these functions such that the CGI outputs pages that are in synch with the motifs of the rest of your site.


Home | About Us | Web Hosting | Web Servers | eCommerce | Order

© 1996 - 2008 Web Hosting Solutions
1311 Darcann Drive, Columbus, OH 43220
1-888-522-3738
Money Back Guarantee
99.9% Uptime Guarantee

Like sports? Visit ColumbusSports.com