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
Unable login into the domain stats - Plesk
Wednesday, November 7, 2007
Posted in: awstats | 0 Comments | Email This
Awstats full year view error
Error will be look like in following way: Full year view has not been allowed from a browser Setu
p ('/home/domain/etc/awstats/awstats.domain.com.conf' file, web server or permissions) may be wron
g. Check config file, permissions and AWStats documentation (in 'docs' directory).
1. Edit "AllowFullYearView" option in the /home/domain/etc/awstats/awstats.domain.com.conf
2. To view the full year, the option should be "AllowFullYearView=3".
Posted in: awstats | 0 Comments | Email This
How to enable Awstats "update now" button
How to enable Awstats "update now" button
Do the following steps to enable the "update now" button in the awstats.
cd /home/userName/tmp/awstats/
You need to edit the domain awstats conf (awstats.domainName.conf) file:
Search for the "AllowToUpdateStatsFromBrowser", assign the value 1 and save the conf file. (The d
efault value of AllowToUpdateStatsFromBrowser will be 0)
AllowToUpdateStatsFromBrowser=1
Refresh your statistics page
Note: Modify the domainName and userName by corresponding name.
Posted in: awstats | 1 comments | Email This