                Readme for Password Redirect Script

This script will redirect each user to a different page acording to the
information you add with the adduser.pl

Send your users to the login.html to login to the system.
The login.html is a frame set page that has one frame. It opens
the form.html (login form)

There are 8 files to this program.

login.html - main page calls the form.html (frame set)
form.html - the login form for your users.

setup.pl - the setup file for the scripts
login.pl - form processing of the login.htm and redirection to new address
adduser.pl - adds new users
removeuser.pl - adds new users
password.log - stores usernames, passwords, and addresses
main.log - Logs username and time/date when they loged in.


                          ### *** *** ###

                    ### *** SETUP INFORMATION *** ###

# 1. configure the variables in the setup.pl file for your server
# 2. place the .pl's (cgi's) the setup.pl and password.log in your cgi-bin/passwd
# 3. add users by accessing the adduser.cgi with your browser
# 4. login to the system by accessing the login.cgi with your browser
# 5. change the <Form method=POST action="/cgi-bin/login.pl"> tag
#    in the form.html to point to the login.cgi
#

chmod the .pl's (cgi's) to 755 - rwx rx rx

chmod 'password.list' to 666 - rw rw rw

chmod 'main.log' to 666 - rw rw rw ( if you want a log file )

To add users, call the adduser.pl with your browser - ie:
http://www.myserver.com/adduser.pl -  and type in the 
information. You can not use spaces in the username or password.

To remove a user, call the removeuser.pl with your browser - ie:
http://www.myserver.com/removeuser.pl 

Change the path in the form tag (action="") in the 'login.htm' to point 
to the login.cgi.

<Form method=POST action="/cgi-rlaj/test/login.pl">


YOUR SECURE PAGES:

If you have images on your secure pages, you will need to put the full web
address to the images or they will not show when used through this program.
EXAMPLE: <IMG SRC="http://your_server.com/image.jpg">
