LinkScan

LinkScan Reference Manual

Section 23

  Previous   Contents   Next   Help   Reference   HowTo   Card 

LinkScan Utilities

The linkscan/utils/ directory contains several unsupported utilities described in this section:

  1. makeign.pl
  2. sendmail.pl
  3. tools.cgi

23.1 makeign.pl

The purpose of this script is to help users configure Server Aliases and Redirections. It will attempt to parse an Apache format server configuration file and create an equivalent LinkScan Alias commands in a format suitable for inserting into linkscan.cfg. Simply execute this script, specifying the pathnames to the appropriate Apache configuration file and a destination file.


Example:

perl utils/makeign.pl /usr/local/etc/httpd/conf/srm.conf linkscan.cfg.try

The completeness and accuracy of the results will vary depending upon your exact Apache Version. We highly recommend that you manually review the output before adding it to your production LinkScan installation.

23.2 sendmail.pl

See the LinkScan to Email Interface.

23.3 tools.cgi

The purpose of the tools.cgi script is to provide a simple web browser-based interface to some of the shell (command line) utilities available on Unix and NT servers for probing questionable URL's. It may be interfaced to various commands including:

[1] We find Ron Guilmette's dnw and ipw programs very useful. The source code may be downloaded from this website.

[2] httphead does not invoke an external shell (command line) command. It is a special built-in function that will display the HTTP headers associated with a target URL.

In order to use tools.cgi you must:

  1. Set the file permissions appropriate for CGI scripts on your server

  2. Install the script in a cgi-bin directory if required by your server

  3. Adjust the shebang line to point at the Perl 5 executable on your server

  4. Edit the hash %Tools that is declared and initialized at the top of the source code. %Tools is used to define the utilities you wish to make available, the absolute pathnames to the executables and type of parameters they accept (Domain, Host or URL)

LinkScan Reference Manual. Section 23. LinkScan Utilities
LinkScan Version 9.0
© Copyright 1997-2001 Electronic Software Publishing Corporation (Elsop)
LinkScan™ and Elsop™ are Trademarks of Electronic Software Publishing Corporation

  Previous   Contents   Next   Help   Reference   HowTo   Card