Part of my .htaccess file looks like this-
AuthUserFile /path/to/.htpasswd AuthName \"Authorization Required\" AuthType Basic require valid-user
AuthUserFile /path/to/.htpasswd AuthName "Authorization Required" AuthType Basic require valid-user Satisfy Any Allow from all