hi
in the /home/peter folder, i typed a command:
htpasswd -c .htpasswd tom
then i typed a two passwords.
in the /home/peter/public_html, i created a abc folder.
then in the abc folder, i created .htaccess
the code is:
AuthUserFile /home/peter/.htpasswd
AuthName "Private Directory"
AuthType Basic
require valid-user
i browsed a link, and pop up the htpasswd box. However, after i typed the login and passwd, they didn't match, maybe wrong login or passwd. but i confrim the a/c is right.
anyone help me where problem is or i set some config again?
thanks for help.....
in the /home/peter folder, i typed a command:
htpasswd -c .htpasswd tom
then i typed a two passwords.
in the /home/peter/public_html, i created a abc folder.
then in the abc folder, i created .htaccess
the code is:
AuthUserFile /home/peter/.htpasswd
AuthName "Private Directory"
AuthType Basic
require valid-user
i browsed a link, and pop up the htpasswd box. However, after i typed the login and passwd, they didn't match, maybe wrong login or passwd. but i confrim the a/c is right.
anyone help me where problem is or i set some config again?
thanks for help.....