Re: [squid-users] What's the difference between vhost and vport?

From: yjyj <yangjing001001_at_gmail.com>
Date: Wed, 21 Apr 2010 15:50:37 +0800

2010/4/21 Jeff Pang <pangj_at_arcor.de>:
> On Wed, Apr 21, 2010 at 9:07 AM, yjyj <yangjing001001_at_gmail.com> wrote:
>> Hi,
>>
>> I know that 'vhost' and 'vport'  used in the reverse proxy mode.
>> Whtat's the difference between them?
>>
>
> You should check squid.conf for details.
> vhost: for host based VS.
> vport: for port based VS.
>

the squid.conf says:

vhost Accelerator mode using Host header for virtual domain support.
Implies accel.
vport Accelerator with IP based virtual host support. Implies accel.

I don't really understand what they means.

For example, what's the difference among the following lines? (SQUID's
IP is 192.168.1.1)

http_port 192.168.1.1:80 vhost vport

http_port 192.168.1.1:80 vhost

http_port 192.168.1.1:80 vport
Received on Wed Apr 21 2010 - 07:50:49 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 21 2010 - 12:00:05 MDT