Bonjour,
j'ai un htaccess qui fonctionne bien sous serveur apache.

AuthName "Restriction"
AuthType Basic
Require valid-user
AuthUserFile "c:/wamp/www/p/.htpasswd"
AuthName "être reconnu comme...