1. Make a copy of the login.pl and logout.pl files.
2. Open the files in a text editor such as notepad and edit the following variables located near the top of both files:
$Base_Full_Server_Path = ".";
$Base_c7_Full_Server_Path = "../c7";
Change them to reflect the full server path to your current (first) ppSD and c7 directories.
Notice: To find the full server path, access the following location in a web browser:
http://www.yoursite.com/cgi-bin/c7/admin.pl?envCopy the "Path to c7" line and edit the above variables as follows (this example presumes that the c7 path is "/home/yoursite/public_html/cgi-bin/c7"):
$Base_Full_Server_Path = "/home/yoursite/public_html/cgi-bin/ppSD";
$Base_c7_Full_Server_Path = "/home/yoursite/public_html/cgi-bin/c7";
Notice how in the first path we replaced the "c7" with "ppSD".
3. Using an FTP Client such as FileZilla, upload both files to your sub-domain or vDomain's "cgi-bin" in the ASCII transfer and set the permissions to 755.
4. Members can now log into the current installation of Password Protector SD from the sub-domain or vDomain on which these files were uploaded. Simply place a like on your sub-domain or vDomain to the location at which they were uploaded.