Create file .htaccess with a content:
Hash your password here!AuthName "hehe, lethacking.com" AuthUserFile "/home/youuser/.htpasswds/public_html/adminfolder/passwd" AuthType Basic require valid-user
http://www.htaccesseditor.com/en.shtml#a_basic
Example:
user: lethacking.com
password: 123456
and this is my hash: "lethacking.com:Ua1yUMW27zCZo"
Ok, now we can create file password with content like this in file "passwd":
lethacking.com:Ua1yUMW27zCZo
If your server 500 Internal with htaccess login, please remove that file and try again with other content htaccess .
No comments:
Post a Comment