2010/4/21 Jeff Pang <pangj@xxxxxxxx>: > On Wed, Apr 21, 2010 at 9:07 AM, yjyj <yangjing001001@xxxxxxxxx> 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