 - Test/Demo for the mSQL to Apache 1.0.2 -

Version 1.01 (c) 31/11/1995 Dirk.vanGulik@jrc.it

Recent-Changes:		
 	3/1/1996 - added cgi-bin/test.pl
 	2/6/1996 - replaced mod_auth_msql by veriosn 0.4

This is just a quick demonstration on how to use
apache, msql and a database to handle (group wise)
user authenticication.

Do note that some clients like netscape, behave
unexpectedly and cache usernames and passwords.

What is there:

README		- This file

config.h	- Some constants, if you do not
		  edit them, you will have a self contained
		  demonstration/testbed created for you by:

demo.sh		- primitve shellscript which sets up a 
		  'conf' directory for apache, created some
		  databases and then tries to kick of an
		  httpd deamon as well as a web browser.

create-db.pl	- script which creates two databases with
		  some example users and groups. You can 
		  rip off this script if you are to develop
		  your own applications.

conf-dist	- some default apache configuration files,
		  which are CPPed into the conf directory.

docroot		- Contains some index.html files spread 
		  over 4 groups, a valid user group and
		  a mixture of group 'a' and 'b' which
		  all have specific settings, see the
		  html text *and* the conf/access.conf

cgi-bin/test.pl - Example of using the MsqlPerl adaptor,
		  requires perl, MsqlPerl and you might
		  have to edit some of the build in
		  table name assumptions

mod_auth_msql.c - The msql add-on module for Apache 1.0.0,
		  has only been tested on Solaris, Sunos,
		  OSF and IRIS.

Usefull URLs:

http://www.apache.org	- home of the apache
http://ewse.ceo.org	- project this was developed for
http://www.bond.edu.au  - home of the mSQL software
http://me-www.jrc.it/~dirkx
			- home of the person to blame
			  if all fails 

And that is it.

Installing,

Check config.sh and demo.sh for stupidities, and then do
a 'sh demo.sh' after you have cd-ed into the directory.

If this fails, read the scripts, work out what they do,
and do it manually :-)

Have fun

Dw.


