On tis, 2007-10-16 at 15:47 +0530, Indunil Jayasooriya wrote:
> If upgraded to squid 2.6, I think I need below lines taken from squid FAQ.
>
>
> http_port 80 accel defaultsite=www.example.com
> cache_peer ip.of.real.webserver parent 80 0 no-query originserver
>
> acl our_sites dstdomain .example.com
> http_access allow our_sites
yes.
> how to write never_direct rule ?
never_direct allow our_sites
and you also need
cache_peer_access ip.of.real.webserver allow our_sites
to tell Squid that the web server is only for the accelerated sites, not
anything else...
> Then, How can I set up transparent interceting to the same squid.conf?
> What about below lines? it is right? if wrong, pls let me know.
>
> http_port 3128 transparent
> acl mynet src 192.168.101.0/24
> http_access allow mynet
Looks fine.
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT