Re: [squid-users] forward and reverse proxy - the difference

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 09 Aug 2007 11:59:05 +0200

On sön, 2007-08-05 at 16:46 +0200, Matus UHLAR - fantomas wrote:

> the vhost and vport directives tell squid that connections to its local
> IP/port should be automatically redirected to different host/port, so you
> don't have to play with hosts/dns nor be that careful about acl's

No they don't. They tell Squid how it should reconstruct the requested
URL from the webserver request received.

How Squid then forwards the request is defined by always/never_direct
(and it's relatives), cache_peer and cache_peer_access.

For requests where Squid goes direct without using cache_peer DNS
and/or /etc/hosts is consulted.

Regards
Henrik

Received on Thu Aug 09 2007 - 03:59:16 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT