[squid-users] reverse-proxy for multiple domains

From: <martin.mueller@dont-contact.us>
Date: Thu, 26 Feb 2004 09:15:50 +0100

hi,

ich tried to configure squid as a reverse proxy for multiple domains. I
rebulit squid with the --disable-internal-dns option with the following
command:

./configure --disable-internal-dns
make
make install

till this point everything went fine.

i use these options in the squid.conf

http_port 50000

acl TEST dst <IP-of-the-web-server>
http_access allow TEST

httpd_accel_host virtual
httpd_accel_port 0

httpd_accel_single_host off
http_accel_with_proxy off
httpd_accel_uses_host_header on

In the hosts-file i put the ip of the webserver i want to reach. it looks
likes this:

<IP-of-the-web-server> <hostname-of-the-web-server>

i tested the squid with one webserver and only changed the
httpd_accel-settings an everything went fine.

i don't know why squid isn't using the /etc/hosts entries, has anybody an
explanation?

bye
martin
Received on Thu Feb 26 2004 - 01:16:04 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:03 MST