Search squid archive

Re: [squid-users] Failed to select source for... Other websites

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

 



On Wed, 16 Mar 2005, Allen Schmidt wrote:

it is recommended to set up http_access to only allow reuqests to your published servers using the dstdomain acl. This will stop these requests proper, avoiding the "failed to select source" clutter in your cache.log.

Can anyone be more specific on how to accomplish this?

acl mysites dstdomain www.domain1.com www.domain2.com ... http_access allow mysites

where the default config says you should add rules allowing access from your clients.

Most likely your forwarding policies or redirector does not account for requests by IP.

And examples of how to correct this??

If you use a redirector, then add rules to this redirector telling what should be done when the user requests by IP.


If you use /etc/hosts for forwarding to the backend servers then you need to add a redirector to rewrite the IP based requests into something meaningful.

If you do cache_peer based forwarding then set up cache_peer_access to route the IPs to the correct backend web server.

Regards
Henrik

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

  Powered by Linux