[squid-users] Squid as a reverse proxy

From: Pedro Lineu Orso <orso@dont-contact.us>
Date: Mon, 4 Mar 2002 16:32:29 -0300

Hello squid-users,

I am trying to implement Squid as a reverse proxy to our intranet with
no success.

This is my squid.conf file:

http_port 81
httpd_accel_host test.lab
httpd_accel_port 80
httpd_accel_uses_host_header on
httpd_accel_with_proxy on

My /etc/hosts is
127.0.0.1 localhost
192.168.10.10 test.lab

Accessing http://192.168.10.10:81:/test.lab

On the browser: The requested URL /test.lab was not found on this server.
On the squid access.log: 1015270125.063 24 192.168.10.20
TCP_MISS/404 464 GET http://192.168.10.10/test.lab - DIRECT/167.10.7.188 text/html

If I remove httpd_accel_host tag, then Squid try to access a url
/test.lab

Does anybody know whats wrong ?

Thanks in advance.

Pedro
Received on Mon Mar 04 2002 - 12:32:32 MST

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