[CentOS] Re: Apache Authorization Access Control - location of htpasswd in Centos 5.1?

Mon Apr 7 16:17:16 UTC 2008
Scott Silva <ssilva at sgvwater.com>

on 4-6-2008 6:59 PM Pam Astor spake the following:
>  > > > > 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.
>  > > >
>  > > > That rather sounds like the path /passwd/passwords does not exist or
>  > > is not
>  > > > writable.
>  > > >
>  > >
>  > > Well, I just tried chomd 777 passwords and still the same problem.
>  >
>  > Can you show us what the result of the
>  >
>  > ls -l /passwd/passwords
>  >
>  > command is?
>  
> Thanks for asking there, actually the problem has been solved, I deleted 
> the passwords
> dir and chmoded 777 the passwd dir and the unsername and password were 
> created
> by htpasswd.
>  
That was your problem. /passwd/passwords should have been a file, not a 
directory.

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080407/1c153c48/attachment-0005.sig>