Search squid archive

RE: disable-internal-dns not working on 2.6.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.   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


-----Original Message-----
From: crobertson@xxxxxxx [mailto:crobertson@xxxxxxx]
Sent: Thursday, November 20, 2008 2:15 PM
To: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  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






[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux