HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: question about squid.conf
Operating System - Linux
1829086
Members
2395
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 07:24 AM
05-13-2004 07:24 AM
hi
I need to exclude some webseites by squid from proxy caching.
but what's the difference between:
acl EXCLUDE www.domain.net
no_cache deny EXCLUDE
and
acl EXCLUDE dstdomain www.domain.net
always_direct allow EXCLUDE
at squid.conf ?
is it not the same thing an does the same job ?
I have squid-2.5.STABLE4-0 installed on SUSE 8.2
I need to exclude some webseites by squid from proxy caching.
but what's the difference between:
acl EXCLUDE www.domain.net
no_cache deny EXCLUDE
and
acl EXCLUDE dstdomain www.domain.net
always_direct allow EXCLUDE
at squid.conf ?
is it not the same thing an does the same job ?
I have squid-2.5.STABLE4-0 installed on SUSE 8.2
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 08:17 AM
05-13-2004 08:17 AM
Re: question about squid.conf
One says don't cache the site.
The second says don't access the website.
Seems like two different functions.
SEP
The second says don't access the website.
Seems like two different functions.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 08:30 AM
05-13-2004 08:30 AM
Re: question about squid.conf
hi Steven
I use the second one and I have access to this
websites via squid
I think, always_direct means DON'T CACHE and forward directly to the webserver
greetings
chris
I use the second one and I have access to this
websites via squid
I think, always_direct means DON'T CACHE and forward directly to the webserver
greetings
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 06:36 PM
05-13-2004 06:36 PM
Solution
You can use the never_direct access list in squid.conf to specify
which requests must be forwarded to your parent cache outside the
firewall, and the always_direct access list to specify which requests
must not be forwarded. For example, if Squid must connect directly to
all servers that end with mydomain.com, but must use the parent for
all others, you would write:
acl INSIDE dstdomain .mydomain.com
always_direct allow INSIDE
never_direct allow all
use the no_cache access list to make Squid never cache any
response:
acl all src 0/0
no_cache deny all
which requests must be forwarded to your parent cache outside the
firewall, and the always_direct access list to specify which requests
must not be forwarded. For example, if Squid must connect directly to
all servers that end with mydomain.com, but must use the parent for
all others, you would write:
acl INSIDE dstdomain .mydomain.com
always_direct allow INSIDE
never_direct allow all
use the no_cache access list to make Squid never cache any
response:
acl all src 0/0
no_cache deny all
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP