Hi Gurus,
I'm a newbie with Centos and Apache and have been trying for over a day now to get authentication working with virtualhosts.
Below is what I have in my httpd.conf file.

<VirtualHost *:80>
ServerName site1.domain.com
ServerAlias *.domain.com
DocumentRoot /var/www/html/domain/
<Directory "/var/www/html/domain/:>
AuthType Basic
AuthUserFile /var/www/html/.htpasswd-test
Require valid-user
Order allow,deny
allow from all
<VirtualHost *:80>
ServerName test2.domain2.com
ServerAlias *.domain2.com
DocumentRoot /var/www/html/domain2
<VirtualHost *:80>
DocumentRoot /var/www/html/

They are working ok, I just do not get prompted for authentication.
I am hoping that someone can point out an obvious mistake, but I just can't figure it out!

Also the version of httpd is httpd-2.2.15-15.el6.centos.1.i686
and Centos is release 6.3 (Final)