<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
> > The syntax for auth stuff changed between Apache 2.0 and 2.2 (which is<br>> > used in CentOS 5). In particular, you'll need a AuthBasicProvider<br>> > declaration:<br>> >   <br>> > http://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html#authbasicprovider<br>> <br>> Thans Paul,<br>> That's new news to me :)<br>> <br>> For the OP, I believe it would be:<br>>  <Location /secure><br>> AuthType basic<br>> AuthName "private area"<br>> AuthBasicProvider file<br>> AuthDBMType file<br>> AuthDBMUserFile /home/mysite/.htpasswd<br>> Require valid-user<br>> </Location><br><br>Thanks,<br><br>OK I tried that and it still would not work, I am not prompted for<br>a username or password on the site I want to protect.<br><br>Do I also need to add a new entry in httpd.conf or load a new apache<br>module?<br><br /><hr />Use video conversation to talk face-to-face with Windows Live Messenger. <a href='http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_042008' target='_new'>Get started!</a></body>
</html>