Using AuthType in htaccess file brings a Server Error 500

Hi,

I want to use .htaccess with Basic Autentication.
I inserted the following lines inside the .htaccess file from Kirby:

AuthType Basic
AuthName “Meyer Seals (Relaunch)”
AuthUserFile /www/kunden/meyerseals/.htpasswd
Require valid-user

After that insert the browser came up with the user and password request.
So far so good … after entering the password and the username I got an Error 500 ?!?

Is there any solution for using Autentication in the Kirby .htaccess file?

Greetings Michael

Did the site work correctly before you inserted this Basic Auth stuff?

Yes it did!
I solved the problem now :slight_smile:
It was a problem from my hoster. For the password protection i have to use my admin backend. The tool there produces all necessary files on secure places. After doing so everything works fine for me …
THX for your reply …
Michael