<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>

<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff></FONT> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> centos-bounces@centos.org 
[mailto:centos-bounces@centos.org] <B>On Behalf Of </B>Pam Astor<BR><B>Sent:</B> 
Sunday, April 06, 2008 9:57 AM<BR><B>To:</B> CentOS mailing 
list<BR><B>Subject:</B> RE: [CentOS] Apache Authorization Access Control - 
location ofhtpasswd in Centos 5.1?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>> >>> I tried creating a password file by executing htpasswd -c 
/passwd/passwords> > famsite but apparently htpasswd is not in my path, 
I'm getting the "cannot> > create file /passwd/passwords famsite" 
error.> >> >> >> > Anyone know where the default 
location of htpasswd is on a centos 5.1> > install? Or how to generate a 
password file on a centos 5.1 install?> > > There's a utility called 
'which' you can use to discover the location> of certain apps you want to 
learn about.<BR>> > Thanks! Ok I ran /usr/bin/htpasswd -c 
/passwd/passwords famsite as root, and still got<BR>> > the cannot create 
file error.<BR>> <BR>> Does the /passwd directory exist?<BR> <BR>It 
does now.  It did not when I first ran the command, however <BR>I just 
created the directory /passwd/passwords<BR>and re ran the command as root, and 
still no luck.<SPAN class=078591014-06042008><FONT face=Arial 
color=#0000ff> </FONT></SPAN></DIV>
<DIV><SPAN class=078591014-06042008></SPAN> </DIV>
<DIV><SPAN class=078591014-06042008><FONT face=Arial color=#0000ff>PS, I think 
there are some permission requirements for the directory and file as well.  
I think they have to be owned by 'apache'.</FONT> </SPAN><BR><BR><BR></DIV>
<DIV>
<HR>
</DIV>
<DIV>Pack up or back up–use SkyDrive to transfer files or keep extra copies. <A 
href="hthttp://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008" 
target=_new>Learn how.</A> </DIV></BODY></HTML>