Apache Log File + Webalizer - Bytes Transferred

Discussion in 'Server Operation' started by mooxe, Jan 24, 2010.

  1. mooxe

    mooxe New Member


    A strange problem with the Apache logs here. No amount of searching has come by an explanation for me.

    I am requesting a file that is 34585356 bytes. I cancel the download when it reaches just 100kb. Apache logs this as... - - [24/Jan/2010:16:18:49 -0500] "GET /downloads/CC5/overlord/CC5_Overlord_EliteCommand_v1.4_submod.zip HTTP/1.1" 200 34585356 "-" "Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.0)"

    When Webalizer reads this, its counted as a full 32megabyte download, when in fact I cancelled at 100kb. Happens for all files, so the data Webalizer displays in totals, are the totals of all files ever hit and completely downloaded.

    I am guessing its Apache's problem. Apache should be logging how many bytes were transferred rather than just inputting the exact file size. How do I do this?

Share This Page