Dalam Hal ini saya memakai wamp.X.X.exe server untuk local dan ActivePERL terbaru, sudah terinstall di komputer saya.
Cari active perl file : ActivePerl-X.X.X.XXX-MSWin32-x86-267479.msi .. yang msi untuk install di windows server anda
cari file awstats : http://awstats.sourceforge.net/
cari file : http://prdownloads.sourceforge.net/awstats/awstats-X.X.exe
Kemuadian install.. ikuti saja perintahnya ( bisa bahasa inggris toh? :P )
setelah itu pindah folder lang,lib, dan plugin berikut dengan file awstats.pl,awdir.pl dan awstats.model.conf, dan config anda sendiri di Apache/cgi-bin anda..
http://localhost/cgi-bin/awstats.pl?config=nama_config_anda # kalo blum bisa lihat langkah berikut :P~
cgi-bin diatas adalah alias dari cgi-bin dalam apache anda.
berikut setting dalam httpd.conf dalam folder apache/conf/
ScriptAlias /cgi-bin/ "c:/wamp/awstats/wwwroot/cgi-bin/" #Menandakan bahwa subfolder cgi-bin akan lari ke target
tersebut.
Alias /awstats "C:/wamp/awstats/wwwroot/"
Alias /awstatsclasses "C:/wamp/awstats/wwwroot/classes/"
Alias /awstatscss "C:/wamp/awstats/wwwroot/css/"
Alias /awstatsicons "C:/wamp/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "C:/wamp/awstats/wwwroot/cgi-bin/"
<Directory "C:/wamp/Apache/cgi-bin">
Options None
AllowOverride all <<< kenapa ada begini karena anda bisa setting pake .htaccess dan .htpasswd (biar ga sembarang orang masuk (taroh dua file tersebut dalam apache/cgi-bin)
Order allow,deny
Allow from all
</Directory>
Setting awstats.pl (di Apache dan wwroot) juga pada :
#!C:\wamp\Perl\bin\perl.exe # baris paling atas ubahlah kepada config anda
setelah itu anda setting awstats.configsitusanda.conf anda (buka tanda #nya):
LogFile="C:\wamp\Apache2\logs\access.log" #arahkan access.log pada Apache/logs/access.log anda
SiteDomain="namaconfiganda" #arahkan pada nama situs config anda
DirData="C:\wamp\awstats" #arahkan pada folder awstats anda
DirIcons="/awstatsicons" #biasanya icon jadi masalah neh
AllowToUpdateStatsFromBrowser=1 #buat pada halaman anda supaya dapat mengupdate lewat browser
atau anda bisa update dengan cmd console | C:>perl awstats.pl -config=202.169.227.159 -update << atau anda bisa
update manual dengan begini
SkipHosts="127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.0\.]" # buat skip host pada localhost
LoadPlugin="geoip GEOIP_STANDARD C:\Program Files\GeoIP\GeoIP.dat" # anda bisa menambahkan plugin geoip pada server
anda dengan cara bukan cmd console :
C:>ppm install http://theoryx5.uwinnipeg.ca/ppms/Geo-IP.ppd <<- install geoip
Downloading Geo-IP-1.27...done
Unpacking Geo-IP-1.27...done
Generating HTML for Geo-IP-1.27...done
Installing to site area...done
Downloading Geo-IP-1.27 install script...done
Running Geo-IP-1.27 install script...
The database GeoIP.dat is needed to complete the installation,
and should be placed in the C:\Program Files/GeoIP directory. I will
now fetch and install this for you, if you like.
Fetch GeoIP.dat? [yes] yes
Fetching http://theoryx5.uwinnipeg.ca/ppms/scripts/GeoIP.dat ... done!
C:/Program Files/GeoIP does not exist. Create it? [no] yes
GeoIP.dat has been successfully installed to C:/Program Files/GeoIP
done
10 files unchanged
1 file updated------------------------------------
kemudian arahkan file GeoIP.dat pada folder program file anda.
buka :
http://localhost/cgi-bin/awstats.pl?config=nama_config_anda
nah selesai kan.. saya juga susah mencari manualnya.. hehe..
-Selesai- yes!
Resensi web :
http://www.antezeta.com/awstats/geoip.html
http://www.maxmind.com/app/perl?rId=awstats






english
indonesian