htpasswd文件如何生成的

发表于:2007-06-09来源:作者:点击数: 标签:
BSD4。7 HTTPD2.0.44 浏览某些网页时设置些权限,要求输入用户名和密码。 书上介绍: cd/home/httpd/support make 可生成htpasswd 但我执行make后提示notargettomake 什么原因呢? i2era 回复于:2003-05-25 18:52:07 利用Apache附带的程序htpasswd,生成包

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起什么作用呢?
我的.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错误

原文转自:http://www.ltesting.net