I would like to create a password protection. I want to use cgi or perl only to write this script. And You can assume, I will create the password into a text file called "pass.txt".
Each user has their own web page. So, If I have 50 users, then i have 50 web page.
An example of "pass.txt" is :
(username, password, location)
tanc02 wrhgjjdhff http://www.user1.com
wlw08 fdskfjf http://www.user2.com
...and so on.
and if the user enter the wrong password, he or she will be tell the password is incorrect and allowed to re-enter again. If correct, he or she will bring to his or her web page.
I need a complete cgi, also tell me how to install and details. I have an access to server.