From: eldy <> Date: Sat, 28 Dec 2002 21:26:09 +0000 (+0000) Subject: Updated documentation X-Git-Tag: AWSTATS_5_3_RELEASE~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a695914278cd2b54052cd78f9b33d391aaba8ed;p=thirdparty%2FAWStats.git Updated documentation --- diff --git a/docs/awstats_faq.html b/docs/awstats_faq.html index 85711b8b..0bbc47e3 100644 --- a/docs/awstats_faq.html +++ b/docs/awstats_faq.html @@ -349,22 +349,26 @@ What do I have to do to use AWStats to analyze some FTP server log files.
AWStats was built to analyze web,wap or proxy server's log files. However it can be used with some FTP server log files.
Setup your ProFTP logformat:
Modify the proftpd.conf file to add the following two lines : - -
LogFormat awstats "%t %h %u %m %f %s %b" -
ExtendedLog /var/log/xferlog read,write awstats -
+ +
LogFormat awstats "%t %h %u %m %f %s %b"
    # WARNING: You must use a tab char between % tags and not a space ! +
ExtendedLog /var/log/xferlog read,write awstats
    # WARNING: ExtendedLog directive might need to be placed inside a virtual host context if you use them. +
Then turn off old format Transfer log: -
TransferLog none +
TransferLog none     # WARNING: TransferLog directive might need to be placed inside a virtual host context if you use them.

-To have the change effective, stop your server, remove old log files and restart the server.
+To have the change effective, stop your server, remove old log file /var/log/xferlog and restart the server.
Setup AWStats to analyze those FTP log files:
Copy config awstats.model.conf file to "awstats.proftp.conf".
Modify this new config file:
LogFile="/var/log/xferlog"
LogFormat="%time1 %host %logname %method %url %code %bytesd" +
LogSeparator="\t"
DNSLookup=0
SkipFiles=""
NotPageList="" @@ -393,8 +397,6 @@ Modify this new config file:


Now you can use AWStats as usual (run the update process and read statistics).
-Warning: This tip doesn't work for FTPed files that contains spaces in them (they are not reported). You can still convert your -log file to replace 'space' char into '_'...