this requires two files: one for the username(s) with an encrypted password and one with the path to the password file.
1. create a new file and name it ".htpasswd"
2. go to http://www.4webhelp.net/us/password.php and enter the desired username and password
3. in it put the username and password, copied from step 2
4. create another file and name it ".htaccess"
5. copy and paste:
AuthUserFile /path-to-htpassword-file/.htpasswd
AuthType Basic
AuthName "Login Details"
Require valid-user
remember to change "path-to-htpassword-file" to the path you have to your .htpasswd file
"Login Details" can be changed to whatever title you would like
save both files and put in the desired folder of choice
No comments:
Post a Comment