Make sure you put in the complete path to the .htaccess file. This would be something such as /www/htdocs/protected
Note that a .htaccess file must already exist for this page to be used.