Hi there,
I’m trying to add a very basic authentication for my website as it is still under development.
I’ve added this lines (according to this article):
# Kirby .htaccess
AuthType Basic
AuthName "Password Protected Area"
AuthUserFile /.htpasswds/mypasswd
Require valid-user
[...]
then the standard Kirby htaccess with RewriteBase /
But I get a 500 internal server. My doubt is that the folder where the Apache configuration is looking for a passwd file is outside the Kirby folder (for security reasons):
.
├── /
├── ./.htpasswds/mypasswd
├── public_html/
├── kirbycms
├── .htaccess
I tried to move the file inside the folder, outside, rename etc but nothing happens.
Do you have any suggestions?