Apache HTTP Server Version 2.0 用户认证.输入用户名密码失败(急问)!!!!!
在httpd.conf加入:
Alias /ts/ "/var/www/ts"
<Directory "/var/www/ts">
Options Indexes MultiViews
AllowOverride authconfig
Order allow,deny
Allow from all
</Directory>
在/var/www/ts下vi .htaccess
authname "shared files"
authtype basic
authuserfile /etc/httpd/conf/passwd
require valid-user
htpasswd -c adm adm111后
在浏览器上HTTP://*.*.*.*/TS
输入用户名,密码不正确.为什么.在线等.....