i2era 回复于:2003-05-25 18:52:07 |
利用Apache附带的程序htpasswd,生成包含用户名和密码的文本文件,每行内容格式为“用户名:密码”。
#htpasswd -bc ../members.txt user1 1234 #htpasswd -b ../members.txt user2 5678 |
clzzf 回复于:2003-05-26 10:15:48 |
谢谢,
-b起什么作用呢? 我的.htaclearcase/" target="_blank" >ccess文件内容如下,在httpd.conf中allowoveride all,为什么不起作用呢? #uthuserfil AuthUserFile /home/www/check/pic.user AuthGroupFile /home/www/check/pic.group AuthName zzf`pic AuthType Basic <Limit GET> order deny,allow deny from all allow from .zzf.com #require user zzf require group pic </Limit> 提示403错误 |