Why Configure protected directories in Apache Failed?

I have created

htpasswd -c /home/secure/apasswords for user james only as well assigned permission to apache2.

Also created .htaccess as below:

    AuthType Basic
    AuthName "Restricted Access"
    AuthUserFile /home/secure/apasswords
    Require user james

Moreover I copied temp index.html file to this directory.