[squid-users] Q: http accel

From: Matt Kehler <mkehler@dont-contact.us>
Date: Wed, 20 Nov 2002 11:01:09 -0600

I'm trying to configure http acceleration with Squid 2.4.x... I'm used
to doing it via 'reverse proxy' with Novell Bordermanager. What I need
to do is:

- configure Squid to act as http accelerator to TWO websites in our
DMZ. One is http only, the other is http AND https
- keep Squid as our http proxy for all users.

This SEEMS simple..but I don't have a test box right now. First of
all..I believe I need to have ' httpd_accel_with_proxy on ' ..so Squid
will act as a proxy AND a accelerator. Correct?

In order to reverse proxy to http://www.mydomain.com , I just need to
add

   httpd_accel_host www.mydomain.com

and thats it? I assume I do not need to add httpd_accel_port 80 as it
is default.

Then..to add another to http://webaccess.mydomain.com and
https://webaccess.mydomain.com , I simply add another line as

    httpd_accel_host webaccess.mydomain.com

And since now I am accelerating port 80 AND 443...how do I do this? or
just add

     httpd_accel_port 0

  to say use all ports when accelerating?

So my squid.conf would have the following added

### add to squid.conf
httpd_accel_with_proxy on
httpd_accel_host www.mydomain.com
httpd_accel_host webaccess.mydomain.com
httpd_accel_port 0

And then..to access these 2 websites...I just configure DNS (for
www.mydomain.com and webaccess.mydomain.com) to point to the IP of
the Squid server?

thanks
Matt
Received on Thu Nov 21 2002 - 09:22:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:20 MST