Re: Rewriting HTML?

2007-07-31 Thread s
Ouch. Pitty, I have to go back to apache regarding it. Thanks anyway and good luck with the project. On Tue, 2007-07-31 at 16:19 +, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, s writes: > >Does Varnish support rewriting HTML code, especially absolute links in > >it? > > No. >

Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread Dag-Erling Smørgrav
[EMAIL PROTECTED] writes: > This is from the apache log: > > 127.0.0.1 - - [31/Jul/2007:16:33:22 -0500] "GET /favicon.ico HTTP/1.1" > 404 209 "http://nuevo.ecomania.info/"; "Opera/9.22 (X11; Linux i686; U; > en)" This shows that Apache gets the correct Host: header from Varnish. > The varnishlog

Re: Re: Re: Small varnish 1.1 test with openrealty and joomla. SOLVED

2007-07-31 Thread eculp
Quoting [EMAIL PROTECTED]: > Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]>: > >> [EMAIL PROTECTED] writes: >>> Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]>: Is Varnish passing the correct Host: header to Apache? >>> AFAIK, it is passing what I am/was telling it in default.vcl. >> >> I'm

Re: Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread eculp
Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]>: [EMAIL PROTECTED] writes: Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]>: > Is Varnish passing the correct Host: header to Apache? AFAIK, it is passing what I am/was telling it in default.vcl. I'm not asking you to guess or speculate; I'm aski

Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread Ricardo Newbery
On Jul 31, 2007, at 1:20 PM, Ricardo Newbery wrote: > > The following doesn't work? > > vcl_recv { > set backend.host = req.http.Host; > } > > or if it's still missing the Host header, does the following work: > > vcl_miss { > set bereq.http.Host = req.http.Host; > } > > and dit

Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread Ricardo Newbery
On Jul 31, 2007, at 10:16 AM, [EMAIL PROTECTED] wrote: > Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]>: > >> [EMAIL PROTECTED] writes: >>> Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]>: The example you mention illustrates how to cache multiple virtual hosts served by *separat

Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread Dag-Erling Smørgrav
[EMAIL PROTECTED] writes: > Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]>: > > Is Varnish passing the correct Host: header to Apache? > AFAIK, it is passing what I am/was telling it in default.vcl. I'm not asking you to guess or speculate; I'm asking you to check your logs. Varnish does *not* u

Re: Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread eculp
Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] writes: >> Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]>: >> > The example you mention illustrates how to cache multiple virtual hosts >> > served by *separate* backends. If all your virtual hosts are on the >> > same backend,

Re: Rewriting HTML?

2007-07-31 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, s writes: >Does Varnish support rewriting HTML code, especially absolute links in >it? No. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to

Re: Rewriting HTML?

2007-07-31 Thread Dag-Erling Smørgrav
s <[EMAIL PROTECTED]> writes: > Does Varnish support rewriting HTML code, especially absolute links in > it? No. DES -- Dag-Erling Smørgrav Senior Software Developer Linpro AS - www.linpro.no ___ varnish-misc mailing list varnish-misc@projects.linpro.n

Rewriting HTML?

2007-07-31 Thread s
Does Varnish support rewriting HTML code, especially absolute links in it? ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread Dag-Erling Smørgrav
[EMAIL PROTECTED] writes: > Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]>: > > The example you mention illustrates how to cache multiple virtual hosts > > served by *separate* backends. If all your virtual hosts are on the > > same backend, you shouldn't need to do anything. > That is what I tho

Re: Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread eculp
Quoting James <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: >> I have a couple of questions: >> >> 1. Is the above the best way to cache dynamically generated CMS pages? >> > > I'm trying to do something similar and it seems to be the > recommended way to cache pages even when cookies are p

Re: Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread eculp
Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] writes: >> sub vcl_fetch { >> if (obj.http.Set-Cookie) { >> insert; >> } >> } > > You should strip the Set-Cookie header before inserting the object into > the cache: > > sub vcl_fetch { > if (obj.http.Set-Coo

Re: WARNING: storage file size reduced to.....

2007-07-31 Thread rad_kam
But this issue i get every time even if i set the storage size 5G, 4G 3G even 10G...everytime PS: The patch works ;) ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc