Htaccess/htpasswd Error 500

Hi there,

I just want to protect my private Cloud with htaccess/htpasswd too.
In my case I got an error 500 when adding this below this line:

DO NOT CHANGE ANYTHING ABOVE THIS LINE

AuthUserFile /.htpasswd
AuthName “Please sign in!”
AuthType Basic
Require valid-user

What’s wrong with it?

Thanks a lot.

Steve

Replace the curly double quotes with straight double quotes ".

If still broken, post your changes again, but use the Preformatted text option in the forum editor around it when you do so. Otherwise we won’t know for certain what’s really in it.

As an aside, if use the approach you’re trying, you won’t be able to use any of the non-web clients (mobile, desktop, webdav, etc.)