[Root @ localhost src] # cd/usr/local/
[Root @ localhost local] # Music awstats-7.0 awstats
[Root @ localhost awstats] # ls
Docs README. TXT tools wwwroot
File awstats. model. conf updated.
-----> Need to create a new config file?
Do you want me to build a new AWStats config/profile
-----> Define config file name to create
What is the name of your web site or profile analysis?
Example: www.mysite.com
Example: demo
Your web site, virtual server or profile name:
In which directory do you plan to store your config file (s )?
Default:/etc/awstats
Directory path to store config file (s) (Enter for default ):
-----> Create config file '/etc/awstats/awstats.www.kissing.com. conf'
Config file/etc/awstats/awstats.www.kissing.com. conf created.
-----> Add update process inside a scheduler
Sorry, configure. pl does not support automatic add to cron yet.
You can do it manually by adding the following command to your cron:
/Usr/local/awstats/wwwroot/cgi-bin/awstats. pl-update-config = www.kissing.com
Or if you have several config files and prefer having only one command:
/Usr/local/awstats/tools/awstats_updateall.pl now
A simple config file has been created:/etc/awstats/awstats.www.kissing.com. conf
You shoshould have a look inside to check and change manually main parameters.
You can then manually update your statistics for 'www .kissing.com 'with command:
> Perl awstats. pl-update-config = www.kissing.com
You can also read your statistics for 'www .kissing.com 'with URL:
>
51: LogFile = "/var/log/ppp/access. log"
63: LogType = W
122: LogFormat = 1
134: LogSeparator = ""
153: SiteDomain = "www.xxx.com"
168: HostAliases = "kissing.com www.xxx.com 127.0.0.1 localhost"
188: DNSLookup = 2
Pl -- update-config = www.xxx.com
Create/Update database for config "/etc/awstats/awstats.www.kissing.com. conf" by AWStats version 7.0 (build 1.971)
From data in log file "/var/log/ppp/access. log "...
Phase 1: First bypass old records, searching new record...
Searching new records from beginning of log file...
Phase 2: Now process new records (Flush history on disk after 20000 hosts )...
Jumped lines in file: 0
Parsed lines in file: 1759345
Found 6 dropped records,
Found 0 comments,
Found 0 blank records,
Found 20 successfully upted records,
Found 0 old records,
Found 1759319 new qualified records.