LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-05-2011, 09:37 AM   #1
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Rep: Reputation: 30
Viewing web pages of a user - squid


Suppose when I install squid proxy server

Can I view the web pages visited by a particular user/machine in a particular session?

I think we can analise the information by the log files of squid. But can I view the page(static)?
 
Old 01-20-2011, 09:10 AM   #2
P42
LQ Newbie
 
Registered: Aug 2010
Location: Germany
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
i don't think you can know which web pages a user accessed without analyzing the logfiles.
if squid will display a page to you that was cached for another user? i think you can configure that.
 
Old 01-20-2011, 11:59 AM   #3
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
Is it possible with help of log file

For example from a log entry, A particular user has visited a site at a time. But it is a text entry. Can I retrieve the page(cached)?
 
Old 01-20-2011, 12:22 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sunils1973 View Post
Is it possible with help of log file

For example from a log entry, A particular user has visited a site at a time. But it is a text entry. Can I retrieve the page(cached)?
Sure...go ahead and write a program to parse the log file, and download/save all the web pages for you.
 
Old 01-21-2011, 08:15 AM   #5
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
OK Thank u

but up to what time the cached pages will be there? I think after sometime ( may be hours or days) The cached pages will be replaced with new contents. For getting the page corresponding to the particular session, the cache status should be saved. For this case In addition to the log files, which files/directories should I copy.

With this logfiles and cache files/directories, can I script from another machine?
 
Old 01-21-2011, 09:40 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sunils1973 View Post
OK Thank u

but up to what time the cached pages will be there? I think after sometime ( may be hours or days) The cached pages will be replaced with new contents. For getting the page corresponding to the particular session, the cache status should be saved. For this case In addition to the log files, which files/directories should I copy.

With this logfiles and cache files/directories, can I script from another machine?
Spell out your words.

And since this will be a program that YOU write, you can make it do whatever you'd like. It's not going to pull the web pages from the Squid cache, since that's not what you asked. You asked if you could read the log file, and cache the web pages based on the links...the answer to that is yes.
 
Old 01-21-2011, 11:40 AM   #7
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
Sorry! my aim is to pull the web pages from squid cache
 
  


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
How do I block web pages/sites? Is squid what I should use? RHLinuxGUY Linux - Networking 3 02-06-2010 12:07 PM
Squid Clashing With Firefox Causing Web Pages to Hang Woodsman Linux - Networking 1 07-23-2009 10:44 AM
Apache/Vhosts and viewing the web pages locally metallica1973 Linux - Server 6 08-13-2008 11:01 AM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM
viewing web pages on my server roger Linux - General 4 08-19-2001 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:57 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