Installation Instructions for ht://Check
----------------------------------------

Copyright (c) 1999-2000 Gabriele Bartolini - Prato - Italy
Some portions Copyright (c) 1995-1999 The ht://Dig Group
$Id: INSTALL,v 1.5 2000/08/14 10:40:39 angusgb Exp $

ht://Check is distributed under the GNU General Public License (GPL).
See the COPYING file for license information.

ht://Check is a world-wide-web utility for an intranet or small internet.

Note that you already must have installed MySQL on your system.
For info about MySQL and its license, go to <www.mysql.com>.

Quick Installation:

configure
make
make install

For more info:
configure --help

Specifying the application directory
====================================

By default, ht://Check is installed into the /opt/htcheck directory. And
everything is under that directory. Nothing is put out of it. If you want
to specify another directory of installation, just use the configuration
option --prefix=DIR. For example, if you want to install it into the
/myapps/htcheck dir, just run configure with this option too:

   configure [other options] --prefix=/myapps/htcheck

Specifying a MySQL directory
============================

ht://Check needs MySQL support. Since newer versions of MySQL installs
its various components under /usr/local, this is the default.
If you have changed the location you can specify it with:
--with-mysql=/opt/local for example.
Otherwise just use: --with-mysql or nothing

Installing PHP scripts
======================
The directory 'php' contains the php scripts that you can put everywhere
into the document root of your web server. By default it's installed into
the php directory of the application, but you can set it to a different
path with the configure option --with-php-dir=DIR.
In order to make the php scripts work, you gotta set the asp tags on into
the php configuration file (usually php.ini or php3.ini), this way:
asp_tags = On ;

You also have to set the .php extension as a php script into the web server
configuration and the .inc extension as a source file. This way with Apache:

AddType application/x-httpd-php .php 
AddType application/x-httpd-php-source .inc

After this, your environment is ready. Now, you have to change the settings
into the file 'include/global.inc' regarding the hostname, and the
authentication credentials for MySQL connections. Of course you need to
access to the MySQL database server from the computer you run these scripts.
Is it possible to customize the language sentences too. For now I have only
the english and the italian file under the include dir of php scripts.
You only have to change the file into the global file.
If you feel like adding a new language, feel free to do it and please post
it to me and I'll get it downloadable by everyone. Of course your name
will be on it for ever ... ;-)

