Re: Squid3 with esi: ESI subrequest failed transfer

From: Dino <dino@dont-contact.us>
Date: Mon, 27 Oct 2003 10:25:53 +0100

> On Sat, 2003-10-25 at 01:47, Dino wrote:
> > We are trying squid 3 as a reverse proxy with ESI.
> > This is the error in the log when I try to visitate an ESI page on my
> > CachePeer:
> >
> > ESI subrequest failed transfer
> >
> > This message is reported 3 times, because our esi page import 3 php
> > pages.
>
> Check your access.log. You'll probably see three denied requests to the
> include pages. You need to allow requests to such pages, as the esi
> engine isn't given automatic access (that would be a severe security
> concern).
>
> Cheers,
> Rob

I can't see any denied request to access.log.
I can see the page once, only if it is not in squid cache.
If I try to GET the page for the second time, I'll get any byte.
This is what I can see in the log:

1067249507.502 1 255.255.255.255 TCP_MEM_HIT/200 0 GET
http://testesi.pro-netics.com:81/esi/1.php - NONE/- text/html
1067249507.503 0 255.255.255.255 TCP_MEM_HIT/200 0 GET
http://testesi.pro-netics.com:81/esi/2.php - NONE/- text/html
1067249507.505 1 255.255.255.255 TCP_MEM_HIT/200 0 GET
http://testesi.pro-netics.com:81/esi/3.php - NONE/- text/html

... mhh, three TCP_MEM_HIT, so good, but I can't see the page on my browser,
even in my telnet!!

Please help me if I'm wrong.

Ciao, Dino.

-- 
--------------------------------------------
|  Dino Ciuffetti - Network Administrator  |
|      +**+   Pro-Netics S.r.l.  +**+      |
--------------------------------------------
Received on Mon Oct 27 2003 - 03:26:31 MST

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