.htacces secure website error

Hey guys, I have a question. I tried to secure my website with a .htacces file and a .htpasswd file, unfortunately local everything runs smoothly and well. When I upload it tot 000webhost and log in to my website. I get the error 500 with check your logs. But the logs don’t give any error (can only find one log…?)

Can someone help me?
Thanks in advance

.htacces file:
AuthType Basic
AuthName “restricted area”
AuthUserFile http://www.personalagenda.tk/.htpasswd
require valid-user

.htpasswd file:
username:password

@ckhawand @ayu @teodor thoughts?

Hi @supertom01!

If you want to protect your public folders please consider using the function from 000webhost cPanel > Settings > Security instead. We are using a different algorithm :slight_smile:

1 Like

Thanks a lot. It works like a charm right now :slight_smile:

Greetings

We’re glad the issue has been solved! :blush:

1 Like