.htaccess with .htpasswd run out loop owncloud 10.x

10

#1

Hello, I'm from Germany and do a problem.
Ido in the .htaccess file insert the following linesto the end:

AuthType Basic
AuthName "Passwortgeschuetzter Bereich"
AuthUserFile /home/Benutzer/.htpasswd
Require valid-user

I will, that for the owncloud site is shown a windows with user and password, so you do not see it owncloud.
The user und the password is the same as the user und password from owncloud.
Then I'm login an after log out, then run loop and I'm log in.
With a another user and password, what is not is available in owncloud is working.

I would like to open the 2 window but the user us the password is the same.