Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-25-2011, 03:39 PM   #1
Registered: May 2007
Posts: 411

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
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: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
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.


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 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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:36 PM.

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