Re: [squid-users] Squid as HTTP accelerator

From: Herman (ISTD) <[email protected]>
Date: Wed, 21 Apr 2004 08:41:24 +0700

Hmm, still don't know what is HTTP accelerator and how Squid can perform
this function. Any hints ?

> -----Original Message-----
> From: Daniel Czarnecki [mailto:daniel@zoltak.com]
> Sent: Sunday, April 18, 2004 7:54 AM
> To: squid-users@squid-cache.org
> Subject: Re: [squid-users] Squid as HTTP accelerator
>
> Will this work for named hosts configuration on Apache?
>
> Also could you send me an example redirection script?
>
> Or give can you give me an example of it's output?
>
> For 1. do you mean the external ip to the Squid box? Or do I need to
> create a
> DNS entry the same as the hosts file on the dns server?
>
> > 1. Configured DNS to resolve all internal server's names to squid.
> > 2. On squid, populated these names in /etc/hosts with private IP
> > addresses of the servers. (so that when squid fetch a page it is
fetched
> > from private network)
>
> --
> Kind Regards,
>
> Dan
>
>
> Quoting Sunil S <sunils@hpcl.co.in>:
>
> > If you are trying to use a version of squid < 3.0, look for the
> > following directives in squid.conf
> > 1. httpd_accel_host virtual
> > 2. redirect_program /path/to/redirector_program
> > 3. httpd_accel_single_host off
> >
> > Accelerator will work with single or multiple internal server.
> > Redirector programs are not part of squid distribution, You can
write
> > them yourself very easily with perl.
> >
> > What I have done for such a requirement are:
> >
> > 1. Configured DNS to resolve all internal server's names to squid.
> > 2. On squid, populated these names in /etc/hosts with private IP
> > addresses of the servers. (so that when squid fetch a page it is
fetched
> > from private network)
> > 3. Added route to linux box running squid to reach the internal web
> > servers ( because squid box had its default route to internet)
> > 4. Used a redirector program to re-write requests in case the
internal
> > servers did nt have an FQDN.
> >
> > Regards
> >
> > Sunil
> > >>> Daniel Czarnecki <daniel@zoltak.com> 04/17/04 07:52AM >>>
> > Hi Guys,
> >
> > I am trying to get Squid to act as an http accelerator for a number
of
> > virtual domains residing on an internal Apache server. They are all
> > named based. Is their a way to configure Squid to accelerate such a
> > configuration?
> >
> > If their is can someone outline how to get it working?
> >
> > Also is it possible to have a single Squid accelerate the traffic
for
> > a
> > set of domains residing on separate internal web servers?
> >
> > Thank you in advanced.
> >
> > Also is their a better alternative to squid?
> >
> > Kind Regards,
> >
> > Daniel Czarnecki
> >
> >
>
Received on Tue Apr 20 2004 - 19:42:17 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT