LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 03:39 PM   #1
jim.thornton
Member
 
Registered: May 2007
Posts: 430

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, 03: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,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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 03:55 PM.
 
  


Reply



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 02:51 AM
XP/Fedora8 File Sharing - can only be accessed via IP Gio Linux - Networking 1 01-10-2008 01:16 AM
internal LAN IPs to get accessed from Internet ( not through port forwarding ) edywas Linux - Networking 4 10-26-2007 03:30 PM
Is there any way to tell which user last accessed a file? sixerjman Programming 2 10-19-2006 01:28 AM
Playing (streaming?) internet radio accessed through realplayer on Firefox 0.8.... pdmackenzie Linux - Software 13 11-19-2004 12:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:37 PM.

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
Open Source Consulting | Domain Registration