Unable login into the domain stats
Issue: Unable to login into the stats of the domain (in Plesk). It is asking the password continuously.
Search for the following entry in /var/www/vhosts/domainName/conf/httpd.include:
(The file /var/www/vhosts/domainName/conf/httpd.include is actually HTTPD_VHOSTS_D/domainName/conf/httpd.include):
(The file /var/www/vhosts/domainName/conf/httpd.include is actually HTTPD_VHOSTS_D/domainName/conf/httpd.include):
<Directory "/var/www/vhosts/domainName/statistics">
AuthType Basic
AuthName "Domain statistics"
AuthUserFile /var/www/vhosts/domainName/pd/d..httpdocs@plesk-stat
require valid-user
</Directory>
It is in that AuthUserFile, the login name as well as the encrypted password is stored.
So adding a new user login details in that file fix the problem, and you can add it as follows.
Create the encrypted password using htpasswd command.
htpasswd -bd /var/www/vhosts/domainName/pd/d..httpdocs@plesk-stat
This will fix the issue.
Note : Replace the domainName by corresponding domain name.
Leave a Reply
You must be logged in to post a comment.