Wednesday, October 28, 2020

Authenticating Location in HTTPD

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"
}
}

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.

No comments:

Post a Comment