varnishncsa logs split per domain
guillaume at varnish-software.com
Tue Nov 15 16:45:01 CET 2016
Probably because varnishncsa sees the ReqHeader before it is normalized.
Try putting the normalized host in req.http.x-host, and filtering on that.
On Tue, Nov 15, 2016 at 4:31 PM, Admin Beckspaced <admin at beckspaced.com>
> Am 15.11.2016 um 10:54 schrieb Dridi Boukelmoune:
>> even in varnish VCL I can normalize the host
>>> not sure how to do this in varnishncsa? is there a way to do that?
>> In VCL you can std.log the normalized host, and use a custom pattern
>> in varnishncsa to pick it up.
>> hello Dridi,
> thanks a lot for your reply. and how would i do that?
> I already normalize the host in vcl_recv
> //normalize the req.http.host
> set req.http.host = regsub(req.http.Host, "^www\.", "");
> but not seeing that normalized host in varnishncsa ...
> a bit more hints and info would be nice ;)
> thanks & greetings
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc