AWStats Plugin for DA [version 3.0+]

Meant to say, same process....
Is there any other process to install awstats? If you are not talking about the installation, then it's completely different, because it doesn't use dynamic pages, doesn't store configuration files in /etc/awstats etc.

sullise said:
anyway..you need to be sure that the DA script does not interfere with plugin stats, or at least converts them to the right paths. Also..

It's up to DirectAdmin staff (John). You can add a feature-request :)

I appreciate your opinion. Thank you!
 
Oke so I updated directadmin, removed the plugin awstats.
Now I see the stats being created in /home/user/domains/domain.com/awstats for every domain, so things seem to work :):)

Next thing is, how do I reach the stats?
http://domain.com/awstats is not working, 403 error

Thanks for the help.
 
"User level" (or login as user) -> "Site Summary / Statistics / Logs", then fill-in "Set selected domains to be publicly viewable from" field and click "Set". Good luck!
 
smtalk,

thanks for the reply. I did that and now I have the Webalizer stats available without password.

When i change the directory to /awstats and make that available, it says "public_html/awstats symlink : File exists"

I want to test both Webalizer and Awstats to see which I like most. Basicly I allready like Awstats most, but I can't get it to run :rolleyes:
 
Are you sure awstats=1 and webalizer=0 are set in /usr/local/directadmin/conf/directadmin.conf? Did you restart DirectAdmin after the changes?
 
awstats=1
webalizer=1
to enable both.
I've not restarted directadmin because I thought that is done automaticly every night.

I should probably do that manually?
 
final update, yesterday I restarted directadmin, now I see that all internal stats links are pointing to ../awstats

basicly it's working like a charm. Thanks
 
Hi guys,

This is wonderfull, but I am having a problem. Awstats seems to be in English by default, and also not in the Frames style.

How or where do I configure this server-wide ?

Thanks
 
final update, yesterday I restarted directadmin, now I see that all internal stats links are pointing to ../awstats

basicly it's working like a charm. Thanks

Did you remove your old awstats install, and did it keep the old records doing so?
 
Anyone have the original awstats.tar.gz archive from this post? Right now the DA supplied one is missing a few features in the panel(or at least doesn't have some things documented) and I just had to reinstall my machine and would like ot get this one working again for the time being..


Thanks
 
Hello,

I need this file too, I had to migrate 2 servers that were using the old method, and now no one has stats from the past, cuase I can't install it.

Scott DeLeury, did you find it elsewhere ?
 
Could somebody please send me this plugin?
Thanks very much!
I can't update my DA's version ,so I have to use this plugin.
 
Hello I'm having some issues with the plugin version...

Warning: file_get_contents(): SAFE MODE Restriction in effect. The script whose uid is 101 is not allowed to access /etc/passwd owned by uid 0 in /usr/local/directadmin/plugins/awstats/admin/index.html on line 39 Warning: file_get_contents(/etc/passwd): failed to open stream: Inappropriate ioctl for device in /usr/local/directadmin/plugins/awstats/admin/index.html on line 39 Couldn't determine user standardly!

Not sure why this is going on... I tried to deactivate the plugin and use the DA version, but that didn't work right either. Any thoughts? I have safemode turned off in php.
 
fixed my issue lol

I solved the safemode problem :)

You need to edit the files in the directories
Code:
/usr/local/directadmin/plugins/awstats/user
/usr/local/directadmin/plugins/awstats/admin

Edit the first line into:
Code:
#!/usr/local/bin/php

Problem Solved!
 
You should use custombuild to install awstats now.

Code:
cd /usr/local/directadmin/custombuild
./build update
./build awstats d
 
Back
Top