<Unix, BSD, Linux...>
How to config the ePass 1000 CGI to work...

1. Change the directory to where the ePass 1000 SDK stored. The directory
   structure may like this:

   /usr/epass1000
   |
   | readme.txt        The file you are viewing.
   |
   |--- src            The cgi sample source file.
   |
   \--- html           The html file to send to user's web browser.

   Now change to "src" directory and modify test.c file by VI or Emacs.
	cd /usr/epass1000
	vi test.c

2. Modify the test.c to set the root of your web site and cgi directory as follow:
	/* In test.c */
	/*
	 * a. I assume the root of your web site is "/usr/home/html"
	 * b. I assume you put the excutable files at "/usr/home/cgi-bin"
	 */

	/* Set the root of your web site. */
	#define SITE_ROOT "/usr/home/html"

	/* Set the excute access folder. */
	#define SITE_CGIBIN "/usr/home/cgi-bin"

3. Re-complete these source file and get the excutable file : a.out.
	gcc -c *.c
	gcc *.o
   
4. Create directories nessessary and then copy files.

	mkdir /usr/home/cgi-bin/test
	mkdir /usr/home/cgi-bin/test/epass1000
	cp a.out /usr/home/cgi-bin/test/epass1000/cgitest

	mkdir /usr/home/html/test
	mkdir /usr/home/html/test/epass1000
	cp ../html/*.* /usr/home/html/test/epass1000

5. Initialize ePass 1000.
	For test, you can initialize the ePass under Windows (See readme.txt
	under samples/ASP),	after that, you must copy the user.txt to your
	host machine, and put it at /usr/home/cgi-bin/test/epass1000.

That's all, now you can visit you web site by IE (Windows 98/me/nt/2000).
	http://yoursitename/cgi-bin/test/epass1000/cgitest