LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2011, 04:39 PM   #1
jim.thornton
Member
 
Registered: May 2007
Posts: 404

Rep: Reputation: 19
Is there a way to see how many times a file has be accessed via the internet?


I'm looking to find out how many times a file has been displayed on the web. I've setup Google Analytics link tracking but I'm trying to figure out how many times BEFORE Google analytics was setup people clicked and viewed a pdf file.

Is there a script that I could run through the log files to find out how many times it has been served?
 
Old 07-25-2011, 04:47 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
probably not, but if such information was logged it would be somewhere in /var/log/apache2 or /var/log/httpd depending on your distribution, more than likely in access_log, which you would search for relevant lines with grep

Last edited by frieza; 07-25-2011 at 04:55 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
internet connection cannot be accessed from openSUSE(11.1) lemon09 Linux - Networking 6 06-30-2009 03:51 AM
XP/Fedora8 File Sharing - can only be accessed via IP Gio Linux - Networking 1 01-10-2008 02:16 AM
internal LAN IPs to get accessed from Internet ( not through port forwarding ) edywas Linux - Networking 4 10-26-2007 04:30 PM
Is there any way to tell which user last accessed a file? sixerjman Programming 2 10-19-2006 02:28 AM
Playing (streaming?) internet radio accessed through realplayer on Firefox 0.8.... pdmackenzie Linux - Software 13 11-19-2004 01:25 AM


All times are GMT -5. The time now is 07:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration