Re: [users@httpd] .htpasswd permissions problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/19/05, Jody Cleveland <Cleveland@xxxxxxxxxxxx> wrote:
> <Limit GET>
> require valid-user
> </Limit>

DON'T USE <Limit>!

See the docs on this directive for why.

> I created a .htpasswd file in the directory /home/cleveland/passwords
> with this as permissions:
> -rwxr--r--   1 cleveland apache      24 Aug 19 11:27 .htpasswd
> 
> When I go to that directory that's protected, I do get a password box,
> but it won't accept my name and password.
> 
> In my error_log, there's this:
> [error] [client 172.30.2.145] (13)Permission denied: Could not open
> password file: /home/cleveland/passwords/.htpasswd
> 
> Any ideas what may be wrong? I thought both files had the right
> permissions. I even tried chmod'ing both files to 777 and it didn't
> work.

Check the permissions on all parent directories to make sure they are
at least searchable (chmod +x) by the web server.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux