LinuxQuestions.org
Register a domain and help support LQ
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 03-23-2009, 05:10 AM   #1
ridwan77
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Rep: Reputation: 15
Deny to cache a website in squid


hi all,

I have a squid running in Fedora core server. i don't want squid to cache a specific website. Can anyone plz tell me how I am going to that ???????
 
Old 03-23-2009, 07:43 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
There are at least 2 ways to do this, depending on your setup.
1)
ref. http://wiki.squid-cache.org/SquidFaq...7d76914af54592
Quote:
Can I make Squid go direct for some sites?

Sure, just use the always_direct access list.

For example, if you want Squid to connect directly to hotmail.com servers, you can use these lines in your config file:

acl hotmail dstdomain .hotmail.com
always_direct allow hotmail
If you have trouble with this, check the version of squid you use, and search the squid faq (link above).

2) use the proxy section of the network setup in firefox or konqueror (or whatever browser you use) to not access the proxy for listed sites.
I use this as my main pc is the proxy and gateway server.

Cheers, Glenn
 
Old 03-24-2009, 05:10 AM   #3
ridwan77
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks a lot GlennsPref. It works
 
Old 03-24-2009, 08:45 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Glad to be of assistance

another of my favourite squid reference's is...

http://www.linuxhomenetworking.com/w...ess_with_Squid

cheers, Glenn
 
  


Reply

Tags
squid


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
squid: howto deny cache of all dynamic asp webpages? cccc Linux - Server 2 02-14-2009 07:16 AM
Why can't I use /etc/hosts.deny to block a website? CJS Linux - Networking 8 08-29-2008 11:39 AM
Allow/Deny access to page on website in RHEL5 sandeshsk007 Linux - Server 0 10-26-2007 11:15 AM
squid always direct and deny from cache cccc Linux - General 1 06-13-2005 01:17 AM
Squid Deny Access but... Roach Linux - Software 4 11-23-2004 12:18 PM


All times are GMT -5. The time now is 01:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration