# info2www - The GNU Info Node to HTML Gateway

Copyright: This program is in the Public Domain.

Latest version is 1.2 - see the ChangeLog for more information.

The info2www script makes your CGI compliant HTTP/1.0 or later server a gateway to all that information you have "stacked away" in the GNU Info Nodes (you know - the Info Nodes accessible from Emacs).

The Info Nodes are parsed and formatted on the fly by info2www and presents hyperlinks to other Info Nodes that your WWW browser can use (hopefully).

## Configuration and installation

The following steps are necessary for getting info2www up and running:

1. Make sure that Perl is installed on your system
2. Choose a directory under your DocumentRoot directory, e.g. DocumentRoot/info2www for keeping the info2www files in.
3. Create this directory and "cd" into it.
4. Extract the tar-file info2www-1.2.tar.Z in this directory
5. Edit the info2www script and make the following changes:
   - Change the first line to use the path to where Perl is installed on your system.
   - Change the @INFOPATH array to contain the directory(-ies) where you keep your GNU Info Node files.
   - Change the %ALIAS associative array to map aliases the way you like.
   - If the path to your info2www directory is different than DocumentRoot/info2www then change the references to where the icons are really located (relative to DocumentRoot).
     You can even set one or more icon references to "" and that icon will not be used!
   - If you want to use your own local copy of this document then change $DOCREF to point at your own URL for this document.
6. Copy or make a link of info2www to your CGI script directory - e.g. DocumentRoot/cgi-bin .
7. Include hyperlinks to the info2www CGI interface wherever you want in your other hypertext documents.

## Using info2www

The info2www script should be called with 0 or 1 argument as follows:

<A HREF="http://yourserver/your-cgi-dir/info2www"> Directory</A>
  Access the default Info Node (DIR)Top

<A HREF="http://yourserver/your-cgi-dir/info2www?(w3)"> W3</A>
  Access the Info Node (w3)Top

<A HREF="http://yourserver/your-cgi-dir/info2www?(gzip)Concept%20Index"> GZIP Concept Index</A>
  Access the Info Node (gzip)Concept%20Index

Enjoy!