This Page Has Moved

The latest version is on GitHub.

NicToolClient Installation

1. Download the sources: NicToolClient

2. Expand the sources:

tar -xzf NicToolClient-X.XX.tar.gz

3. Install the perl modules:

cd NicToolClient-X.XX
perl Makefile.PL
make install clean

4. Move the distribution to it's long term resting place:

mv NicToolClient-X.XX /usr/local/nictool/client

5. Configure Apache

This will vary from system to system, and dependent on what version of Apache you are using. A typical configuration is what I shall present below. These are additions to make to your httpd.conf file:

PerlRequire /usr/local/nictool/client/lib/nictoolclient.conf

<VirtualHost *:80>
    # force a https connection
    Redirect /

    Alias /images/ "/usr/local/nictool/client/htdocs/images/"
    DocumentRoot /usr/local/nictool/client/htdocs
    DirectoryIndex index.cgi
    SSLEngine on
    SSLCertificateFile /secure/path/to/certs/
    SSLCertificateKeyFile /secure/path/to/certs/

    <Files "*.cgi">
       SetHandler perl-script
       PerlResponseHandler ModPerl::Registry
       PerlOptions +ParseHeaders
       Options +ExecCGI

    <Directory "/usr/local/nictool/client/htdocs">
        AllowOverride None
        Order allow,deny
        Allow from all

6. Configure nictoolclient.conf

vi /usr/local/nictool/client/lib/nictoolclient.conf

7. Restart Apache