varnish-misc Digest, Vol 37, Issue 6

Abhishek Singh abhishek.rhce at gmail.com
Fri Apr 3 12:11:13 CEST 2009


On Fri, Apr 3, 2009 at 3:30 PM, <varnish-misc-request at projects.linpro.no>wrote:

> Send varnish-misc mailing list submissions to
>        varnish-misc at projects.linpro.no
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://projects.linpro.no/mailman/listinfo/varnish-misc
> or, via email, send a message with subject or body 'help' to
>        varnish-misc-request at projects.linpro.no
>
> You can reach the person managing the list at
>        varnish-misc-owner at projects.linpro.no
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of varnish-misc digest..."
>
>
> Today's Topics:
>
>   1. Re: Varnish on FreeBSD (Dag-Erling Sm?rgrav)
>   2. How to let varnishncsa to log the realserver ip
>      (suran007 at sina.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 02 Apr 2009 13:37:09 +0200
> From: Dag-Erling Sm?rgrav <des at des.no>
> Subject: Re: Varnish on FreeBSD
> To: Olivier Nicole <on at cs.ait.ac.th>
> Cc: varnish-misc at projects.linpro.no
> Message-ID: <86ocvfwal6.fsf at ds4.des.no>
> Content-Type: text/plain; charset=utf-8
>
> Olivier Nicole <on at cs.ait.ac.th> writes:
> > "Dag-Erling Sm?rgrav" <des at des.no> writes:
> > > Olivier Nicole <on at cs.ait.ac.th> writes:
> > > > $ a.out
> > > > 16384 2297104
> > > I imagine this is the stripe size of your array?
> > I am not sure what you mean, the values represents f_bsize and
> > f_bavail.
>
> Yes.  I imagine that in this case, f_bsize corresponds to the stripe
> size of your array.
>
> DES
> --
> Dag-Erling Sm?rgrav - des at des.no
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 03 Apr 2009 10:39:56 +0800
> From: suran007 at sina.com
> Subject: How to let varnishncsa to log the realserver ip
> To: varnish-misc<varnish-misc at projects.linpro.no>
> Message-ID: <20090403023956.BFDA5A4980D at mail3-51.sinamail.sina.com.cn>
> Content-Type: text/plain; charset="gbk"
>
>   >hello!
>   >I have a questtion, that is How to let varnishncsa log the backend
> realserver ip to varnish.log?I search in google,but no >result,anyone can
> help me ?
>   >thanks!!
>

put following line vcl_recv VCL. and load your new config file from
varnishadmin.


remove req.http.X-Forwarded-For;
  set    req.http.X-Forwarded-For = client.ip;






>
> ???????????????????
> ???????????????????
>
> -------------------------------------------------------------------
> ???????????????????(http://space.sina.com.cn/ )
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://projects.linpro.no/pipermail/varnish-misc/attachments/20090403/1d343358/attachment-0001.htm
>
> ------------------------------
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
>
>
> End of varnish-misc Digest, Vol 37, Issue 6
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20090403/dbec212d/attachment-0001.html>


More information about the varnish-misc mailing list