AuthUserFile /var/www/public_html/en/admin/.htpasswd
AuthGroupFile /dev/null
AuthName "Authenticated By Arun"
AuthType Basic

<Limit GET POST>
require valid-user

This is my .htaccess file and i set password to 123 and username to aaa.
When i call the link the dialog box is asking for username and password but when i give correct username and password the page is not opening it throws authentication error.

Thanks in Advance,