BBS水木清华站∶精华区

发信人: Kaneson (嘟嘟可乐), 信区: Linux        
标  题: Re: apache的访问权限问题. 
发信站: BBS 水木清华站 (Tue Dec 14 19:57:40 1999) 
 
 
【 在 huxg (dididi) 的大作中提到: 】 
∶ 写了一个.htaccess and passwd如下 
∶ .htaccess: 
∶ Options ExecCGI 
∶ AuthName "TEST" 
∶ AuthType Basic 
∶ AuthUserFile ".user.passwd" 
∶ <Limit GET POST> 
∶     require valid-user 
∶ </Limit>   
∶ passwd file : .use.passwd: 
~~~~~~~~~~~~~~~~~~~~~~~~~~ 
should be:AuthUserFIle /Absolute dir/.use.passwd 
 
∶ ==cut== 
∶ huhu:huPSuja1ku3p2    
∶ ==cut== 
∶ this password  create by crypt function of  c 
∶ but 
∶ 为什么我用netscape怎么不忍这个口令呢请大仙指点一二. 
∶ //bow 
 
 
passwd文件可用命令htpasswd创建 
 
-- 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 162.105.138.50] 

BBS水木清华站∶精华区