|
我是这么做的:
在/etc/http/conf/http.conf加入:
<Directory "/var/www/html/phpMyAdmin">
Options Indexes FollowSymLinks
AllowOverride authconfig
Order allow,deny
Allow from all
</Directory>
然后在/var/www/html/phpMyAdmin建立文件..htaccess写入:
AuthName DBA
AuthType basic
AuthUserFile /var/www/html/phpMyAdmin/members.txt
require user valid-user
然后运行:
htpasswd -bc /var/wwwhtml/phpMyAdmin/members.txt jin 1234
可是当我打开网页,它是跳出一个要我输入用户与密码,可是我输入
jin
1234
却进不去!!
怎么办????
请个位指教!!!谢谢!! |
|