twhiting9275
Verified User
Here's a very simple script based on what was just given:
A couple of things wrong, which have yet to be corrected in any version of this:
Firstly, when using "domainlist", you get a bunch (and I do mean a bunch) of Malformed UTF errors. There's a good 1-200 of those errors so I'm not going to paste those.
Secondly, "all" does not work, at least for RHEL3. I couldn't get it to work under 9 either, so its probably NOT the OS. Error follows:
It's generating the html stuff, but it's not generating them properly, obviously.
Code:
USER="insertuser"
EDITOR="pico"
cd /home/$USER/public_html
mkdir awstats
cd awstats
wget [url]http://www.febox.com/DA-awstats.tar.gz[/url]
tar xzvf DA-awstats.tar.gz
cd ..
chown -R $USER.$USER awstats
cd awstats
$EDITOR common.conf
$EDITOR config.php
$EDITOR domains.txt
su - $USER
cd public_html/awstats
php domainlist.php
A couple of things wrong, which have yet to be corrected in any version of this:
Firstly, when using "domainlist", you get a bunch (and I do mean a bunch) of Malformed UTF errors. There's a good 1-200 of those errors so I'm not going to paste those.
Secondly, "all" does not work, at least for RHEL3. I couldn't get it to work under 9 either, so its probably NOT the OS. Error follows:
Warning: Syntax error line 5 in file './aws.wolfstream.net.conf'. Config line is ignored.
Error: LogFormat parameter is not defined in config/domain file
Setup ('./aws.wolfstream.net.conf' file, web server or permissions) may be wrong.
See AWStats documentation in 'docs' directory for informations on how to setup aws.
It's generating the html stuff, but it's not generating them properly, obviously.
Last edited: