On Thu, Jul 20, 2000 at 01:12:18PM +0400, Artem Chuprina wrote:
> On Thu, Jul 20, 2000 at 11:47:36AM +0400, Konstantin E. Timashkov wrote:
> > а можно ли использовать в Squid multiple httpd_accel ?
# TAG: httpd_accel_uses_host_header on|off
# HTTP/1.1 requests include a Host: header which is basically the
# hostname from the URL. Squid can be an accelerator for
# different HTTP servers by looking at this header. However,
# Squid does NOT check the value of the Host header, so it opens
# a big security hole. We recommend that this option remain
# disabled unless you are sure of what you are doing.
#
# However, you will need to enable this option if you run Squid
# as a transparent proxy. Otherwise, virtual servers which
# require the Host: header will not be properly cached.
httpd_accel_uses_host_header on
> > каждый виртуальный (Name Based...) хост я бы вынес на отдельный порт, и
> > считал бы статистику между squid и apache посредством ipfw count ... и тд...
> > да бы это было бы самой правильной, хотя и не совсем...
>
> Кажется, увы, нет. Акселератором он может работать вроде бы только к одному
> серверу.
Нет. Добавлю, что клиенты, не ставящие "Host:", вымерли как динозавры.
--
Eugene Berdnikov
=============================================================================
= Apache-Talk@xxxxxxxxxxxxx mailing list =
Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE.
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C)
1997-2009 Alex Tutubalin. Design (C) 1998 Max Smolev.