directadmin awstats (403 forbiden)

roly

Verified User
Joined
Nov 9, 2006
Messages
192
hi

i'm just setting up a new server and i'm trying to use the awstats that comes with directadmin. i used the old plugin for awstats of this forum on another server which worked fine.

anyway, i've set it up so that awstats is publically viewable from domain.com/awstats but when i go to that url i get a (403 forbidden) error.

if i try and view the stats from within directadmin i get the following error:

"You must wait for the stats to be computed. This will only happen *after* logs exist (domain must resolve and be used)."

logs exist and i've also run:
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d

and it still doesn't work. has anyone got any idea where the problem lies? any advice appreciated.

thanks in advance

roland
 
Last edited:
it seems no one else has come across this problem yet, can i just ask, am i correct in thinking you should normally be able to view the stats publically via www e.g. domain.com/stats as opposed to getting a 403 forbiden error?
 
By default DirectAdmin doesn't post stats publicly. The DirectAdmin knowledgebase gives instructions on how to implement it for webalizer; details may differ for AW Stats.

Jeff
 
jlasman, there is only one difference, because the folder name is awstats, and not stats :)
Code:
ln -s ../stats [B]webstats[/B]
should be:
Code:
ln -s ../[B]aw[/B]stats [B]webstats[/B]
 
thanks guys for the response :)

with regards to the symlink, i had already created the symlink via the stats config section for each domain from within directadmin, i set it up so that my stats are viewable from domain.com/awstats. however i get the 403 error when i try to read the stats via domain.com/awstats. (i am being redirected to that page but receiving the 403 error).

i notice that the awstats folder and all the files within it for each domain are owned by root, is this why i get the 403 error when trying to view it?
 
Last edited:
or alternatively, if i can't get this to work and use the plugin on this forum, do i need to uninstall the version of awstats that comes with directadmin that i can't get to work first? and if so any ideas how?
 
just fyi, i removed all folders and files relating to the awstats that comes with directadmin and used the awstats plugin from this forum. thanks for your help anyway guys :)
 
Back
Top