HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Apache Log File + Webalizer - Bytes Transferred (http://www.howtoforge.com/forums/showthread.php?t=42936)

mooxe 24th January 2010 22:57

Apache Log File + Webalizer - Bytes Transferred
 
Gentlemen,

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...


124.128.195.146 - - [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?


All times are GMT +2. The time now is 23:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.