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
    ServerName dns.example.net
    Redirect / https://dns.example.net/
</VirtualHost>

<VirtualHost 207.89.154.94:443>
    ServerName dns.example.net
    Alias /images/ "/usr/local/nictool/client/htdocs/images/"
    DocumentRoot /usr/local/nictool/client/htdocs
    DirectoryIndex index.cgi
    SSLEngine on
    SSLCertificateFile /secure/path/to/certs/example.net.crt
    SSLCertificateKeyFile /secure/path/to/certs/example.net.key

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

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

6. Configure nictoolclient.conf

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

7. Restart Apache