Re: Authenticating Location in HTTPD

2020-10-28 Thread Gleydson Soares
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

Re: Authenticating Location in HTTPD

2020-10-28 Thread Romain FABBRI
I use this config for wordpress : authenticate "WordPress" with "/htdocs/htpasswd" Place the htpasswd file at the root of your chroot This file should not be served of course Check your logs for errors if not working Romain -Message d'origine- DeĀ : owner-m...@openbsd.org De la part de