You didn't understand what I've told you.
If you want to restrict access to a directory (i.e. /home/test) by asking username/password, then you have to put .htaccess in that directory. The .htaccess should contain:
Code:
AuthType Basic
AuthName "Give in Kerb 5 Username and Password Required active directory"
Require valid-user
AuthUserFile /path/to/ht-passwd
You need the path to the file that htpasswd creates passwords for the users that can access the protected directory.
In httpd.conf you should add (or edit if it exists) the following section:
Code:
<Directory /home/test>
...
AllowOverride Authconfig
...
</Directory>