Search squid archive

RE: Reverse proxy using 2.6 with multiple domainconfiguration

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

 



fre 2006-10-27 klockan 17:16 -0400 skrev Nguyen, Khanh, INFOT:
> If it is configured to operate in reverse proxy, it should not serve
> request that come without HOST header, should it?

It's a matter of taste. HTTP/1.0 did not have Host headers. All the
defaultsite says (when used together with vhost) is what Squid should
use as the Host header if none was provided by the client.

If defaultsite is not used then Squid will reject the request with an
error as it can not tell what the request was for..

> If I configure more than one domains in the box (reverse proxy mode),
> if the parent of one domain is not available, the squid takes
> initiative and use the parent of the other domains!

Only if you haven't set the cache_peer_access(or _domain) correct.
Without cache_peer_access (or _domain) Squid has no opinion on which
requests may be sent to which peer and considers all candidates for all
requests.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux