Re: [squid-users] Squid 2.7 access log and url_rewrite_program

From: Chris Woodfield <rekoil_at_semihuman.com>
Date: Wed, 9 Jul 2008 11:15:00 -0400

Bug filed, #2406.

As I annotated in the bug report, this behavior does have its uses,
but not having access to the URL pre-rewrite is clearly broken
behavior IMO. My idea solution would restore 2.6's behavior, but also
add a logformat code to log the URL post-rewrite in addition to pre-
rewrite if desired. If no rewriter is configured, this element would
print null.

-C

On Jul 8, 2008, at 6:36 PM, Henrik Nordstrom wrote:

> On tis, 2008-07-08 at 16:47 -0400, Chris Woodfield wrote:
>
>> I've noticed that squid 2.7STABLE3 logs incoming URLs differently
>> than
>> 2.6 did when using a url_rewrite_program. It appears that under 2.6,
>> the URL logged was pre-rewrite, under 2.7 it's the URL returned by
>> the
>> rewriter. This presents problems as I have the potential for a large
>> number of incoming URL hostnames being rewritten to the same origin
>> hostname, and with the current 2.7 logging I can't tell what the
>> incoming hostnames were.
>>
>> Was this an expected change? If so, can I have the old behavior
>> back? :)
>
> Not expected, but now that I read the change log again it's obvious..
>
> File a bug so we have some place to keep a lasing discussion about
> this.
> Not sure today what the solution will look like.
>
> http://bugs.squid-cache.org/
>
> Regards
> Henrik
Received on Wed Jul 09 2008 - 15:15:18 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 16 2008 - 12:00:04 MDT