--- Andika Triwidada <[EMAIL PROTECTED]> wrote:
> On Wed, 20 Oct 2004 22:13:37 -0700 (PDT), R
> Jantarasami
> <[EMAIL PROTECTED]> wrote:
> > 
> > Your AWStats LogFormat parameter is: 1
> > This means each line in your web server log file
> need
> > to have "combined log format" like this:
> > 111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] "GET
> /
> > HTTP/1.1" 200 1234
> > "http://www.fromserver.com/from.htm"; "Mozilla/4.0
> > (compatible; MSIE 5.01; Windows NT 5.0)"
> > 
> > And this is an example of records AWStats found in
> > your log file (the record number 50 in your log):
> > 202.150.xx.xx - - [20/Oct/2004:15:43:55 +0700]
> "GET
> >
>
/cgi-bin/awstats.pl?month=09&year=2004&config=www.mydomain.com&framename=mainright
> > HTTP/1.0" 200 65002
> > 
> > pada httpd.conf sudah saya set
> > CustomLog log Combined
> 
> Silahkan diperiksa lagi, format log web server anda
> belum memuat field
> referer dan user-agent.

Benar sekali Pak Andika di httpd.conf saya field
referer dan user-agent masih dipagar & saya rubah ;

# a CustomLog directive (see below).
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

restart apache dan saya cek log sudah berubah dgn
model combined dan muncul referer dan user agent
sehingga bisa dipakai Awstats.
Trima kasih sekali lagi.

R Jantarasami


                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis.php
Tidak bisa posting? Baca:
http://linux.or.id/wiki/index.php?pagename=ProblemMilisDanSolusi
http://linux.or.id/wiki/index.php?pagename=TataTertibMilis

Kirim email ke