
> -ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/" > Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/" > Alias /awstatscss "/usr/local/awstats/wwwroot/css/" > Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/" > then I've commented out following strings in nf for domain.name: > ln -s /usr/local/awstats/wwwroot/cgi-bin awstats > ln -s /usr/local/awstats/wwwroot/icon/ awstatsicons > ln -s /usr/local/awstats/wwwroot/css/ awstatscss > ln -s /usr/local/awstats/wwwroot/classes/ awstatsclasses

> cd /home/httpd/vhosts/domain.name/httpdocs > vhosts directory and suexec has too strict restrictions so even > the problem was in paths - awstats directory is located outside My provider got a workaround from plesk-support: Otherwise, I will tell him to open a ticket at plesk, perhaps they can help, or is this a problem of the distribution (SuSE 9.2)? My provider will do some tests on a testbox and perhaps find a solution. So it could be a hint to cp to the cgi-bin-directory into the vhosts docroot, but I think there will be problems with finding the config-files and who want's to copy all the data each time a new domain is created? : command not in docroot (/usr/local/awstats/wwwroot/cgi-bin/) MyServer:/home/httpd/vhosts/ # tail /var/log/apache2/suexec.log The problem is caused by the suexec-wrapper, which prevents cgi/perlscripts from running out of the document-root: He is still searching for a fix, the reason is found, i will try to translate it from german to english: Notice: if you want to add another domain just repeat these steps from 3-5 Now use this url to see if everything is ok It would be nice if you add these commands to cron tab
#AWSTATS HOME UPDATE#
# /usr/local/awstats/or if you want to update all at the same time us this LogFile="/home/httpd/vhosts//statistics/logs/access_log"ĥ) All you need to do now is to update awstats data base using one of these two commands # vi /etc/awstats/awstats.change log path to: You will be asked about your domain and path to nf file so enterĤ) you need to provide correct path to access_log file, so open conf file for your domain using vi text editor usin this command:

If you want to use other version of rpm find url first and replace this one.ģ) then you will need to setup awstats_ run:
#AWSTATS HOME INSTALL#
Here is a full guide for linux in a few very simple steps :įirst you will need a shell access, the most popular program is putty (ssh emulator) download one if you dont have it, login as a root user and folow the instructions:ġ) you need to install awstats, the best way to install it is using awstats rpm, so run this command first.
