thank you for your help.
I set my AuthUserFile to C:/Program Files/Apache Group/Apache2/test
and saved .htaccess file outside test directory and
test my program with
http://localhost/test
and I still don't get a window asking for my username and password as it shown on page 320.
what could have gone wrong?