Search squid archive

Re: Squid Ignoring ESI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-04-22 at 22:20 +0000, James Ellis wrote:
> I am trying to use the ESI parser in Squid.  I have compiled with
> "--enable-esi" and set "esi_parser custom" in my squid.conf file.

You shouldn't need to set esi_parser at all.

> Through the squid client, I can access a JSP page running on my local
> machine, but I am unable to parse ESI pages.  
> 
> Questions:
> 
> 1) Is there a set of instructions anywhere on how to use ESI and Squid
> together?  If not I'd be happy to piece together what I have (if I
> ever get it actually working).
> 
> 2) I read somewhere that you need to set the header
> "Surrogate-Control", so I've tried the following:
> 
> response.setHeader("Surrogate-Control", "no-store, content=\"ESI/1.0
> \"");
> 
> In this case the esi tags are just ignored.

This should be correct, I suggest upping the debug flags for ESI to see
what squid thinks is happening.

> 3) Are there any other squid.conf settings required other than
> "esi_parser custom" required?

Not that I remember.

-Rob

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux