To install type

	perl Makefile.PL
	make
	make install

The best way to get started with Apache::PageKit is to use example code
that is included in this distribution under the eg/
directory.  This is the actual code that http://www.pagekit.org uses.

For example, to install the PageKit templates and code in
/home/pagekit directory

cp -pR eg/ /home/pagekit/eg

Add the following to your httpd.conf file

	<Perl>
		use lib '/home/pagekit/eg/perl';
	</Perl>

	PerlSetVar PKIT_ERROR_HANDLER display
	PerlSetVar PKIT_PAGE_INFO_FILE /home/pagekit/eg/page.txt
	PerlSetVar PKIT_PRODUCTION off
	PerlSetVar PKIT_TEMPLATE_ROOT /home/pagekit/eg/template
	PerlSetVar PKIT_COOKIE_DOMAIN .pagekit.org
	PerlRequire /home/pagekit/eg/startup.pl

	SetHandler perl-script
	PerlHandler +MyPageKit

To get the example www.pagekit.org code to work with MySQL, create the
following tables:

CREATE TABLE pkit_user
	(user_id MEDIUMINT UNSIGNED PRIMARY KEY AUTO_INCREMENT NOT NULL,
	email VARCHAR(255) NOT NULL,
	login VARCHAR(255) NOT NULL,
	passwd VARCHAR(255) NOT NULL,
	pkit_admin TINYINT UNSIGNED NOT NULL,
	UNIQUE (login));

For Apache::MySQL::Session, use

CREATE TABLE sessions (
    id char(32) not null primary key,
    a_session text
);
