0

Unable login into the domain stats - Plesk

Wednesday, November 7, 2007

Search for the following entry in the /var/www/vhosts/domainName/conf/httpd.include: (/var/www/vhosts/domainName/conf/httpd.include is actually HTTPD_VHOSTS_D/domainName/conf/httpd.include):

AuthType Basic
AuthName "Domain statistics"
AuthUserFile /var/www/vhosts/domainName/pd/d..httpdocs@plesk-stat
require valid-user


Create the encrypted password using the (htpasswd generator):
http://home.flash.net/cgi-bin/pw.pl
(ex. testUser:pTn5ZCQSqwOxc)

OR You can Also generate the encrypted password using the "htpasswd" command:
htpasswd -bdc
(eg. htpasswd -bdc testfile testUser testPass
Adding password for user testabc
# cat testfile
testUser:pTn5ZCQSqwOxc
)

Append the obtained entry to the AuthUserFile (Here it is /var/www/vhosts/domainName/pd/d..httpdocs@plesk-stat).
cat >> /var/www/vhosts/domainName/pd/d..httpdocs@plesk-stat
testUser:pTn5ZCQSqwOxc

0 Responses to "Unable login into the domain stats - Plesk"