RE: [squid-users] disable-internal-dns not working on 2.6.18

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 21 Nov 2008 11:10:41 +1300 (NZDT)

> Hi Chris,
>
> I actually DID put in the http_access line in the config file but I
> entered it in wrong. Oops.. but- It's working now!
>
> This thing is way too cool. I wish squid were a LITTLE easier to
> configure but you can do friggin' anything with this product.

Thats coming 'real soon now', there are a few of us working on config
upgrades. We've made great strides in Squid-3.1 and later Squid-2, but
still have a ways to go.
If you have any specific hangups or ideas drop a message here or squid-dev
and I'll add it to the todo list.

> I can't
> stress enough how cool I think squid is. I've been using it for years in
> all different ways and although I run into speed bumps configuring things
> sometimes, I'm always happy with the result.
>
> Go Squid! Thanks for the help guys.
>
> -Joe
>

 :) Thank you. It's always great to see someone happy with our work.

Amos

>
> -----Original Message-----
> From: crobertson_at_gci.net [mailto:crobertson_at_gci.net]
> Sent: Thursday, November 20, 2008 2:15 PM
> To: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] disable-internal-dns not working on 2.6.18
>
> Joseph Jamieson wrote:
>> Hello again.
>>
>> I followed that document to the letter here, and squid doesn't want to
>> allow any traffic to my cache sites:
>>
>> ---------
>> ERROR
>> The requested URL could not be retrieved
>>
>> While trying to retrieve the URL: http://my.site.com/
>>
>> The following error was encountered:
>>
>> * Access Denied.
>>
>> Access control configuration prevents your request from being
>> allowed at this time. Please contact your service provider if you
>> feel this is incorrect.
>>
>> Your cache administrator is webmaster.
>> Generated Thu, 20 Nov 2008 13:27:20 GMT by proxy.site.com
>> (squid/2.6.STABLE18)
>> -----------
>>
>> This is what I've added to the squid.conf:
>>
>> http_port 80 accel defaultsite=my.site.com vhost
>>
>> cache_peer 192.168.5.15 parent 80 0 no-query originserver name=moon
>> acl sites_moon dstdomain my.site.com
>> cache_peer_access moon allow sites_moon
>>
>> cache_peer 192.168.5.12 parent 80 0 no-query originserver name=triton
>> acl sites_triton dstdomain terminal.site.com
>> cache_peer_access triton allow sites_triton
>>
>> cache_peer 192.168.5.14 parent 80 0 no-query originserver name=titan
>> acl sites_titan dstdomain files.site.com
>> cache_peer_access titan allow sites_titan
>>
>>
>> That's all the guide told me to do, so I'm not sure what to do next.
>> Gosh, I wish this wasn't so difficult.
>>
>> Joe
>>
>
> You missed a bit:
>
>> And finally you need to set up access controls to allow access to your
>> site without pushing other web requests to your web server.
>> acl our_sites dstdomain your.main.website
>> ***http_access allow our_sites***
>> cache_peer_access myAccel allow our_sites
>> cache_peer_access myAccel deny all
>
> Chris
>
>
>
>
>
Received on Thu Nov 20 2008 - 22:10:54 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 12:00:03 MST