[SQU] More 2 Accelerator and multiple servers

From: Raúl Espiga <webmaster@dont-contact.us>
Date: Tue, 17 Oct 2000 13:39:04 +0200

Please help,

I'm getting crazy, anyone knows if the Squid 2.1 NT port from Romeo
Anghelache is able to manage the redirect_program parameter?

In squid.conf now i have:
---------------
http_port 80
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_uses_host_header on
redirect_program c:\squid\redirect.pl
redirect_children 10
httpd_accel_with_proxy on
----------------

And redirect.pl is as follows:
------------
$|=1;
while(<>) {
  s@192\.168\.14\.71@192.168.14.61@;
} continue

  print;
}
-----------

It translates 192.168.14.71 to 192.168.14.61 that is the real web server ip
that i want to accelerate, but it seems to me that squid is not accessing to
the redirect.pl

What i'm doing wrong???

Here is an extract from the cachelog.wri where you can see that squid is not
redirecting to the correct ip.
---------------------
2000/10/17 13:30:39| WARNING: Forwarding loop detected for:
GET / HTTP/1.0 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
*/*
Accept-Language: es
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
Host: 192.168.14.71
Via: 1.1
servidor:80 (Squid/2.1.RELEASE)
X-Forwarded-For: 192.168.14.71
Cache-Control: max-age=259200
Connection: keep-alive
---------------------

Thanks for your help.
--------------------------
Raúl Espiga Cogorro
Director Técnico
www.artemisa.com
CS2 Informática, S.L.
webmaster@cs2informatica.es
---------------------------

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Oct 17 2000 - 22:08:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:46 MST