Re: Squid accelarator for many web servers

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 06 Jun 1997 09:11:41 +0200

What you need to do is to

1. Write a redirector that rewrites http://ip-server-X/ to
http://internal-server-X/
2. move each server to a new address
3. set up a virtual interface on the squid server for each www server
(with the official adress of the server)
4. use http_accel virtual 80

Or you could use the Host: model...

1. use http_accel main-server 80
        http_accel_uses_host_header on
2. Write a redirector that rewrites http://server1.../ to
http://internal-server1.../
3. Give the squid server the names of all servers it accelerates (moving
the servers to different internal names).

It is hard to do it without changing the condfiguration of your server
machines or DNS, but since you have control of your router it might be
possible to use transparent proxying to accelerate the servers...

---
Henrik Nordström
Kostas Pentikousis wrote:
> 
> Hi to all,
>    I have read messages in the digest for a long time, and I think that
> people here really help each other. We've already use squid as a
> cache-proxy server (incoming traffic) for 8+ months and we find it
> excellent.
>    Now we want to use it as an accelarator not for one but for all the
> web servers that are running in .foo.gr. Let's say that we have the
> situation:
>       |            |                      |       |
> ----> |Cisco router|--->(HTTP request)--->| Squid |---->www1
>       |            |                      |       | \-->www2
>                                                      \->www43
> 
> We want a request to www1 to be passed from the router (gateway of the
> whole network) to squid, which will fetch the request from the approriate
> web server. We don't want to change the configuration on the web servers
> and of course we can't force everyone on the internet to use our
> accel-proxy.
>    Can this be done transparentry? Except from the configuration at the
> router, what sort of configuration is needed for the squid (except
> accel-mode on etc)
> 
> Thanks in advance.
> kostas
> 
> ----------------------------
> Kostas Pentikousis, B.Sc. CS                E-mail: kostas@ccf.auth.gr
> Network Operation Center                    Web:    www.auth.gr/~kostas
> Aristotle University of                     Phone:  +30 31 998417
> Thessaloniki                                Fax:    +30 31 998492
> Macedonia, GREECE
Received on Fri Jun 06 1997 - 00:15:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:28 MST