You wanted to see stats of a domain in Plesk. It is asking for the password and you don’t have it :(. What can you do?. Here are the steps that can be used to create a new login to see the stats.
Open domain’s httpd.include (HTTPD_VHOSTS_D/domain/conf/httpd.include) file and search for something like:
AuthName “Domain statistics”
The above entry tells that access to web-stats page (/var/www/vhosts/domain/statistics) is restricted to valid-users specified within ‘AuthUserFile’.
So, create an encrypted password using htpasswd and append its output to ‘AuthUserFile’.
$ htpasswd -nb username userpass >> /var/www/vhosts/domainName/pd/d..httpdocs@plesk-stat
Note: Don’t forget to use ‘>>’. Using one symbol (>) will erase existing entries.
Now, you should be able to login using username & userpass.