<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<SPAN lang=EN style="FONT-SIZE: 14pt; COLOR: #003366; FONT-FAMILY: Arial; mso-ansi-language: EN"><FONT size=2><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><SPAN lang=EN style="COLOR: #003366; FONT-FAMILY: Arial; mso-ansi-language: EN"><FONT size=3><o:p>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: Arial"><FONT color=#000000>Hi,<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: Arial"><o:p><FONT color=#000000> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: Arial"><FONT color=#000000>I’m trying to set up a private family web site for genealogy, and want to set up Apache </FONT></SPAN><SPAN lang=EN style="COLOR: #003366; FONT-FAMILY: Arial; mso-ansi-language: EN">Authorization access control for this site, and once the user has logged in has access to the entire site.<SPAN style="mso-spacerun: yes">  </SPAN>I’ve been reading the info at <A href="http://httpd.apache.org/docs/2.2/howto/auth.html"><U><FONT color=#800080>http://httpd.apache.org/docs/2.2/howto/auth.html</FONT></U></A> to learn how to do this.<SPAN style="mso-spacerun: yes">  </SPAN>I’m just planning on passing out the same username and password to all family members and allow everyone in the family to use the same username and password, to keep things simple.<SPAN style="mso-spacerun: yes">  </SPAN>The server is running Centos 5.1.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="COLOR: #003366; FONT-FAMILY: Arial; mso-ansi-language: EN"><o:p> </o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="COLOR: #003366; FONT-FAMILY: Arial; mso-ansi-language: EN">The first problem I am running into – I’m trying to use the <CODE><SPAN style="FONT-FAMILY: Arial"><A href="http://httpd.apache.org/docs/2.2/programs/htpasswd.html"><U><FONT color=#0000ff>htpasswd</FONT></U></A></SPAN></CODE> utility that came with Apache 2.2 to create a password file.<SPAN style="mso-spacerun: yes">  </SPAN>The default location according to above URL is in <CODE><SPAN style="FONT-FAMILY: Arial">/usr/local/apache2/bin/htpasswd</SPAN></CODE> but apparently it’s not located there in my install.<SPAN style="mso-spacerun: yes">  </SPAN><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="COLOR: #003366; FONT-FAMILY: Arial; mso-ansi-language: EN"><o:p> </o:p></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #e5ecf3; MARGIN: 0in 0in 0pt; LINE-HEIGHT: 12pt"><CODE><SPAN lang=EN style="COLOR: black; FONT-FAMILY: Arial; mso-ansi-language: EN">I tried creating a password file by executing htpasswd -c /passwd/passwords famsite but apparently </SPAN></CODE><CODE><SPAN lang=EN style="COLOR: #003366; FONT-FAMILY: Arial; mso-ansi-language: EN"><A href="http://httpd.apache.org/docs/2.2/programs/htpasswd.html"><U><FONT color=#0000ff>htpasswd</FONT></U></A> is not in my path, I’m getting the “cannot create file /passwd/passwords famsite” error.<o:p></o:p></SPAN></CODE></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="COLOR: #003366; FONT-FAMILY: Arial; mso-ansi-language: EN"><o:p> </o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="COLOR: #003366; FONT-FAMILY: Arial; mso-ansi-language: EN">Anyone know where the default location of htpasswd is on a centos 5.1 install?<SPAN style="mso-spacerun: yes">  </SPAN>Or how to generate a password file on a centos 5.1 install?<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"></o:p></FONT></SPAN></P></o:p></FONT></SPAN><br /><hr />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></body>
</html>