Search squid archive

Re: URL rewriter note

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

 



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@xxxxxxxxxxxxxxxxxxxxx] De la part de Alex Rousskov
Envoyé : vendredi 28 septembre 2018 17:57
À : squid-users@xxxxxxxxxxxxxxxxxxxxx
Objet : Re:  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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux