htpasswd文件如何生成的
时间:2008-01-16 13:15:14 来源: 作者:
|
BSD4。7 HTTPD 2.0.44 浏览某些网页时设置些权限,要求输入用户名和密码。 书上介绍: cd /home/httpd/support make 可生成htpasswd 但我执行make后提示no target to make 什么原因呢? 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起什么作用呢? 我的.htaccess文件内容如下,在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错误 |
原文链接:http://bbs.chinaunix.net/viewthread.php?tid=76302 转载请注明作者名及原文出处 |










文章评论
共有 位网友发表了评论 查看完整内容