On Wed, Oct 28, 2020 at 09:40:24AM -0400, ben wrote:
> Hello, Misc;
> 
> I'm attempting to configure authentication for a location in httpd...
> 
>     server "example.com" {
>         listen on * port 80
>         root "/htdocs/example.com/"
>         location "/" {
>             authenticate with "/passwds"

this file should have r bit to "www" group

chown root:www /var/www/passwds && chmod 0640 /var/www/passwds

>         }
>     }
> 
> However upon navigating to the designated url and entering the password I
> receive the same prompt again and again. I generated the password using
> htpasswd(1) and am storing it in the passwds file in the root of my chroot. Am
> I missing something? Has anyone else encountered this problem? Thank you in
> advance.
> 
> 
> Ben Raskin.
> 

Reply via email to