

This includes files in the /home/admin/.plugins/ directory and in the /usr/local/directadmin/plugins/Stats_Control/.Īlso, FYI, the server that I tested this out on, I ripped out fusion's version before I installed this. That's where I'm at now.ĬlayRabbit, I think you need to just go over the permissions and ownerships some more on all the files, they seem to really be all over the place. This plugin's lib files permissions were very off.īut, that didn't fix it. So, I went and compared the permissions of the old awstats plugin, with this one, and adjusted the files accordingly. Warning: Can't read file "mime.pm" (mime detection will not work correctly).

Warning: Can't read file "browsers.pm" (browsers detection will not work correctly). Warning: Can't read file "robots.pm" (robots detection will not work correctly). Warning: Can't read file "operating_systems.pm" (operating systems detection will not work correctly). Warning: Can't read file "domains.pm" (domains detection will not work correctly). Warning: Can't read file "search_engines.pm" (search engines detection will not work correctly). Warning: Can't read file "status_http.pm" (status http detection will not work correctly).Ĭheck if file is in "./lib" directory and is readable. Warning: Can't find language files for "en".
#Awstats 6.4 Patch#
For RedHat you should apply special patch to fix bug in (see .rh90.patch located nside plugins/Stats_Control/awstats/cgi-bin). Yep, awstats will work for subdomains also. Files inside domains/*/stats directory becomes owned by corresponding user, and so it becomes counted in quota usage, but user is able to delete those files anytime and disable stats generation. During install, this plugin will disable DirectAdmin's log rotation and webalizer run (and will enable those features after uninstall).
#Awstats 6.4 update#
Bundled awstats version is 6.4, but you free to update it manually.

After rotation, logs permissions will be changed to 440 nobody:user, so users will no longer be able to read other user's logs. Webalizer/awstats will be runned with user previlleges (not under root), so our server is safe (at least i hope so from known or unknown vulnerabilities in those programs. Some webalizer/awstats settings is customizable by user/admin. Also log will be rotated if it's size is over specified value.
#Awstats 6.4 archive#
Logs rotated monthly and domain logs with all subdomains logs are packed in ONE archive (and without trailing '.1' in filename). User is able to choose (for each domain) which stats processor to use (awstats/webalizer/none), admin can specify which proccessor will be used by default. Implemented about 6 monthes ago, because I wasn't happy about fusionictnl's plugin and I hate DirectAdmin's daily rotation. If I try to run the commands again, it complains that the file doesn’t exist and I get the error:Įrror: Couldn’t open log file “/home/username/statistics/” for writing : No such file or directory.Plugin: Stats Control (Yet another AwStats Plugin Did I get confused? Was I supposed to manually create it somehow instead? The way I understood it, it was supposed to create that file. Phase 2 : Now process new records (Flush history on disk after 20000 hosts)… Searching new records from beginning of log file… NOTE: this issue exists because of an incomplete fix for CVE-2008-3714. Phase 1 : First bypass old records, searching new record… in AWStats 6.8 and earlier does not properly remove quote characters, which allows remote attackers to conduct cross-site scripting (XSS) attacks via the querystring parameter. I don’t understand, because when I run, I get a similar result to the one that’s posted in the FAQ at the Awstats site: Ok, I’ve managed to get most of the way through the installation (you’ve been a super big help, Skybly!), and I’ve never used perl before in my life.
