首先要安装中间件软件(本次装的Apache)
使用:
1.更改D:/awstats-6.95/wwwroot/cgi-bin目录下,复制awstats.model.conf文件,改成对应你的日志的配置文件名,更改配置文件里面的内容,设置LogFile="D:/awstats-6.95/wwwroot/access.log",引号中为日志文件所在路径及文件名;设置SiteDomain="cbd",引号中为自已随意设置的域名。
2.在DOS中用perl编译:perl awstats.pl -update -config=cbd,“=”后是之前设的SiteDomain域名
3.在浏览器中访问http://localhost/awstats/awstats.pl?config=cbd,其中localhost是安装awstat时设置的本地地址。
安装:
安装 awstats
1. 运行 awstats-6.4.exe
2. 安装目录我设置 为: j:/awstats/
3.
#---------------------------------------------------
do you want me to build a new awstats config/proifle file
#---------------------------------------------------
选 y
4.
#---------------------------------------------------
your web site, virtual server or profile name:
#---------------------------------------------------
输入你网站的域名, 我的: gi.2288.org:88
5. 接着按两下 enter 键完成基本安装.
安装设置Apache
(比较复杂,没看明白,大体意思是在Apache中设置awstat的相关东西)