.htaccess instructions

From ClubsWiki
Jump to: navigation, search

Using PHPAccess with the UCI CORE Accounts Server

Creating .htaccess files with a GUI Interface

Step 1: Upload the 'phpaccess103.php' file to the directory you want to password protect.

Step 2: Set the file permissions for the protected diretory to 777. Set the permissions of the phpaccess103.php file to 775. This step is critical, it won't work without the correct permissions. You can use WSFTP (PC) or Fetch (Mac) for this.

777 gives Owner, Group and Other Read, Write and Execute Permissions. 775 gives Owner and Group all permissions. Other does not have write permissions.

Step 3: Browse to the phpaccess103.php page on your Website. Login with "test" and "test". Use the Web interface to create usernames and passwords for your directory access.

Step 4: Remove the phpaccess103.php page from your Web site or change the login and password for the admin utility. To do this you will need to edit the phpaccess103.php file. Go to lines 37 and 38 in the code and change $adminloginname and $adminloginpass from test/test to something of your choosing. Uploade the file again and test to see if the new admin login/password works. This will prevent others from using this same tool to gain access to your protected directory.

Personal tools