Kris wrote:
In article <bo**********@murdoch.acc.Virginia.EDU>,
"sachin" <*r*****************@icqmail.com> wrote:
i'm hosting mp3s on a private server
I hope they are all truthfully yours.
The MP3 files probably are. Whether he holds the copyright or a license to
distribute is another matter...
I'd like to track downloads...specifically:
-IP address
-Unique downloads
-Downloads per day or week
You server logs keep track of that. There are several packages available
that make an analysis of those logs. I am not very deep into this, so
this is where my information ends.
Analog and Webalizer are decent packages, I believe they are cross-platform.
However, if you need *accurate* statistics, then you'll have to configure
your server to provide headers in its HTTP responses to avoid any caching,
or at least require validation for each request. Look at your server
manual to find out how to do this.
You also have to clarify what you mean by "IP address". Do you want the IP
address of the computer that connects to your server? That's what is
logged normally. Or do you want the IP address of the person downloading?
Sometimes this is available in headers provided by the proxy, such as
X_Forwarded_For, but may well be meaningless in the context of the Internet
(I doubt IP addresses like 10.0.0.1 are useful to you).
--
Jim Dabell