[squid-users] How to use accelerating proxies correctly?

From: André Füchsel <andre.fuechsel@dont-contact.us>
Date: Tue, 24 Aug 2004 15:21:11 +0200

Hi,

after reading everything I could find about accelerating proxies I still
cannot solve my problem described in "accelerating proxy and default page
(index.html)". Therefore I would like to summarize what I would like to do
and why:

We have JBoss with it's integrated web server running in the LAN which NOT
accessible from the outside. Squid is running in demilitarized zone not for
caching and accelerating the HTTP-requests, but to redirecting external
requests to the internal JBoss server (which would be not accessible from
the outside otherwise):

Internet -> FW -> squid (192.168.200.12:80) -> FW -> JBoss (10.0.10.102:8100)

So I assumed this to be the correct setting for squid:

        http_port 80

        http_accel_host 10.0.10.102
        http_accel_port 8100
        http_accel_single_host on
        http_accel_uses_host_header on

Now I have read, that I should use port 80 for the internal web server
(which I don't want) or use a redirector (which I don't understand; is
there any explanation about this?). Also it has been said earlier in this
forum that I should use "http_accel_uses_host_header off". Why? As you can
see on my previous posting, this does not work either.

Finally, can you give me a clue how to set up the acl's? Is it bad by just
using "http_access allow all" since I want everybody from the net to
connect to this accelerating server?

Totally confused now. Hope somebody could enlighten me. Thanks.

Andre
Received on Tue Aug 24 2004 - 07:21:19 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT