# ---------------------------------------------------------------------------- # Protect.pl, PasswordTool.pl and ImgProtect.pl Read Me File. # protect.pl V 2.035b2 # PasswordTool.pl V 1.06b2 # ImgProtect.pl V 1.02b2 # written by Michael Nilsson # http://www.maze.se/freeware/ # ---------------------------------------------------------------------------- # You can use, modify and redistribute this software, provided that # this header appear on all copies of the software # # This software is provided "AS IS," without a warranty of any kind. # Michael Nilsson or Maze interactive media DON'T TAKE ANY RESPONSE # FOR ANY DAMAGES SUFFERED AS A RESULT OF USING, MODIFYING OR # DISTRIBUTING THE SOFTWARE. # IN NO EVENT WILL Michael Nilsson OR Maze BE LIABLE FOR ANY LOST # REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, # CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED # AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE # USE OF OR INABILITY TO USE SOFTWARE, EVEN IF Maze and / or # Michael Nilsson HAS BEEN ADVISED OF THE POSSIBILITY OF # SUCH DAMAGES. # # ---------------------------------------------------------------------------- # ================================================================== # This readme file only covers the configuration of protect.pl to read the full documentation and the FAQ visit http://www.maze.se/freeware and follow the link Perl CGI scripts and then the link protect.pl Readme & FAQ. # ================================================================== # If you are upgrading from a previous version of protect.pl and PasswordTool.pl see UPGRADE.txt # ================================================================== # Release Notes See 2035b2history.txt # ================================================================== # Configure the protect.pl V 2.035b2 script: If you are hosted on a Win95/NT server see the "Can I run protect.pl on Windows NT?" question in the protect.pl FAQ. You can find the protect.pl FAQ at http://www:maze.se/freeware , follow the link Perl CGI scripts and than the link protect.pl Readme & FAQ. Required 1. Make sure that the top line of the script matches the location of you Perl interpreter (If you are hosted on an Win95/NT server you don't have to care about this). You can find the location of your perl interpreter on your system, by executing the command: 'which perl' at the Unix command prompt. A typical use of this command looks like this: $ which perl /usr/local/bin/perl $ In this case, you have just found that the location of Perl on your system to be "/usr/local/bin/perl". To update the protect.pl script, you need to append this value to '#!'. So, for this example, the first line in the protect.pl script should look like: #!/usr/local/bin/perl 2. Type in the CGI server name, e.g. http://www.myisp.com, http://www.mydomain.com, http://cgi.myisp.com or whatever that makes sense on your system. $script = "http://www.myisp.com"; 3. Type in the full URL to the login page e.g. http://myisp.com/~myname/login.html or http://mydomain.com/login.html. $redir = "myisp.com/~myname/login.html"; 4. Type in your e-mail address to be used in "password expired" error message. @my_email = ('me@myserviceprovider.com'); 5. Type in the address to your site after http://www and the corresponding IP-address in this field e.g. @http_ref = qw(myserviceprovider.com/~myaddress 193.45.67.8); or @http_ref = qw(mydomain.com 193.45.67.8); If you don't now your IP adress see the "Do I really need to enter the IP address?" question in the protect.pl FAQ. You can find the protect.pl FAQ at http://www:maze.se/freeware , follow the link Perl CGI scripts and than the link protect.pl Readme & FAQ. # ================================================================== # Optional This is the start page. $startfile = "index.html"; This is the file extension on all protected pages except the start page. $file_ext = ".html"; This is the password file. $pwfile = "pwd.dat"; This is the error log file. $errlog = "errlog.dat"; This is the temporary id file. $id_file = "id.dat"; # ================================================================== # Configure the login.html file: Simply change the line