[squid-users] Reverse proxy with 2.6 and several backends with different ports

From: Emilio Casbas <ecasbas@dont-contact.us>
Date: Fri, 29 Jun 2007 16:10:45 +0200

We are in the process of updating our reverse proxys to squid-2.6.

In general all connections are working successfully, but we are having
some troubles with specific connections, -redirected connections-
specifically, for example.

----------------------------
Related Squid configuration 2.6
----------------------------

http_port 80 accel defaultsite=www.ourmainsite.es
https_port 443 accel defaultsite=https://www.ourmainsite.es
cert=/usr/local/etc2/squid-2.6/etc/certs/ourmainsite-GlobalSign-070328-cert.pem
key=/usr/local/etc2/squid-2.6/etc/certs/ourmainsite-GlobalSign-070328-key.pem
sslflags=DONT_VERIFY_PEER

cache_peer webcluster.cti.unav.es parent 80 0 no-query originserver
..
url_rewrite_program /usr/local/etc2/squid-2.6/bin/redirector.pl
redirect_children 12
url_rewrite_host_header off
..
------------------------------

The problem is with some url performing with the redirector. With 2.5
all works fine for years.

--------------------------
Related redirector url
--------------------------

s@http://webcluster.cti.unav.es/alumno/ga/@http://internalserver.unav.es:8080/@;
--------------------------

With requests to this url (webcluster.cti.unav.es/alumno/ga) the
access.log is showing:

internal.proxy.unav.es - - [29/Jun/2007:15:53:33 +0200] "GET
http://www.unav.es/alumno/ga/alumno/servlet/es/unav/ga/comun/seguridadAlumno/Identificacion.html
HTTP/1.0" 404 4853 TCP_MISS:FIRST_UP_PARENT

We have tried as well with cache_peer_access with no success.

Any idea/solution?

Thanks
Emilio C.
Received on Fri Jun 29 2007 - 08:08:59 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:05 MDT