[squid-users] URL rewriter note
Yann Girardin
ygirardin at olfeo.com
Mon Oct 1 07:15:55 UTC 2018
Hi,
Sorry I am using squid 4.2 and here is how I configure my url_rewriter program and here is how it is configured
url_rewrite_bypass on
url_rewrite_program my_program my_args
url_rewrite_children 100 startup=10 idle=2 concurrency=5
I recall my program return something that looks like :
OK my_note=30
And the issue here is that I want to use this note in the logformat program by passing it using %note or %{my_note}note but this call my log_format program with empty note (even when I use %note), I got "-"
-----Message d'origine-----
De : squid-users [mailto:squid-users-bounces at lists.squid-cache.org] De la part de Alex Rousskov
Envoyé : vendredi 28 septembre 2018 17:57
À : squid-users at lists.squid-cache.org
Objet : Re: [squid-users] URL rewriter note
On 09/28/2018 07:27 AM, Yann Girardin wrote:
>
> Hi
>
> I am using the url_rewrite_program directive on my squid 4 configuration.
>
> I want to use the note feature to use it in my logformat program. But when I pass %note to it my note looks empty squid send me «-«.
>
> My url rewrite program return to squid line that looks something like :
>
> OK mynote=XX
>
> Where XX is always an integer.
>
> Is there something wrong ?
It is difficult to say what is going on without more information. Please
start by posting your Squid version and the relevant parts of your Squid
configuration.
Thank you,
Alex.
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users
More information about the squid-users
mailing list