Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-20 Thread Amos Jeffries
On 19/08/2014 3:42 a.m., nuhll wrote: Just to clarify my problem: I dont use it as a transparente proxy! I distribute the proxy with my dhcp server and a .pac file. So it gets used on all machines with auto detection proxy Your earlier config file posted contained: http_port

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-18 Thread Alex Crow
http://www.squid-cache.org/Doc/config/cache/ On 03/08/14 10:25, nuhll wrote: Seems like acl all src all fixed it. Thanks! One problem is left. Is it possible to only cache certain websites, the rest should just redirectet? -- View this message in context:

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-17 Thread Amos Jeffries
On 16/08/2014 8:02 a.m., nuhll wrote: I got nearly all working. Except Battle.net. This problem seems to known, but i dont know how to fix. http://stackoverflow.com/questions/24933962/squid-proxy-blocks-battle-net That post displays a perfectly working proxy transaction. No sign of an error

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-12 Thread Amos Jeffries
On 12/08/2014 7:57 a.m., nuhll wrote: Thanks for your help. But i go crazy. =) Internet is slow as fuck. I dont see any errors in the logs. And some services (Battle.net) is not working. /etc/squid3/squid.conf debug_options ALL,1 33,2 acl domains_cache dstdomain

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-06 Thread Igor Novgorodov
Well, english is not my native language too, but that does not hurt much :) 1. Define an access list (text file with domains you wanna cache, one domain per line): acl domains_cache dstdomain /etc/squid/lists/domains_cache.txt 2. Define a parameter that will allow cache for these domains,

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-05 Thread Igor Novgorodov
Piece of cake: always_direct deny acl_not_direct always_direct allow all On 05.08.2014 23:19, nuhll wrote: Thanks, but its not possible to make a list of all possible websites which i could visit but i dont want to cache xD. Is there no way to direct ALL websites direct EXCEPT only some

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-04 Thread Amos Jeffries
On 3/08/2014 9:25 p.m., nuhll wrote: Seems like acl all src all fixed it. Thanks! One problem is left. Is it possible to only cache certain websites, the rest should just redirectet? The cache directive is used to tell Squid any transactions to be denied storage (deny matches). The rest

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-04 Thread Igor Novgorodov
always_direct directive On 04.08.2014 22:15, nuhll wrote: Hello, you are right. I dont mean redirect like 301. I mean, squid should not touch the website or connection and just send it direct to the website, except some websites which i want to cache. How to archive this? -- View this

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-04 Thread Igor Novgorodov
You should create an access list with sites that you don't want to cache like: always_direct allow acl_direct_sites always_direct allow all will make ALL requests to go directly bypassing cache. Also see cache_deny directive. On 04.08.2014 22:25, nuhll wrote: always_direct allow all and

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-03 Thread Amos Jeffries
On 3/08/2014 3:07 a.m., nuhll wrote: im not able to fix it. Normal websites work. But i cant get it to cache (or even allow access to Windows Update or Kaspersky). Whats i am doin wrong? 2014/08/02 17:05:35| The request GET http://dnl-16.geo.kaspersky.com/updaters/updater.xml is