Forum Moderators: phranque

Message Too Old, No Replies

log of file access

log of mp3 file access

         

rubing

9:16 pm on Aug 29, 2008 (gmt 0)

10+ Year Member



Hey Webmasters!

I am goint to build a website with mp3 audio content on it. Does apache log if a client has clicked on/played an mp3 file. Where would I find this information. Can I easily transfer it to my database? thx!

jdMorgan

1:59 am on Aug 30, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Apache logs all requests by clients for resources on the server. It doesn't know about clicks or players, only that a "file" was requested. Each request is logged, along with the disposition of the request - in terms of the HTTP response header sent back to the client.

The log files may or may not be easy to use, depending on where you are hosted. Some hosts provide real-time access to logs, some update them hourly, some only daily. Some provide them in raw form, some only in gzip compressed format. There are many variations.

Including the logs in your database may or may not be easy as well. Much depends on whether your database resides on the server, or you're talking about a database on your PC.

As with most things Web-related, there are many details, and most of them matter.

Jim

tangor

8:18 am on Aug 30, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Check your host for log access. Most have a rotation setting (hourly, daily, weekly). Most also allow on demand access, though not all!

Log Analyizers are available.

I routinely download, parse, throw into Access and do my research there. I don't there is any one RIGHT solution. Use what works for you.