RE: Converting squid.conf and cache dir to 1.1

From: Zivojnovic Ranko <ranko@dont-contact.us>
Date: Mon, 18 Nov 1996 20:50:45 +0200

Yep! It works:

In "cache_cf.c" line 2030 (version 1.0.20):

sprintf(ForwardedBy, "Forwarded: by http://%s:%d/ (Squid/%s)",

Should read:

sprintf(ForwardedBy, "Via: by http://%s:%d/ (Squid/%s)",

And does not complain :)

Cheers and thanx,

Ranko

----------
From: Duane Wessels[SMTP:wessels@nlanr.net]
Sent: 18 November 1996 20:30
To: squid-users@nlanr.net
Subject: Re: Converting squid.conf and cache dir to 1.1

bortzmeyer@pasteur.fr writes:

>On Sunday 17 November 96, at 23 h 24, the keyboard of Mario de Mello
>Bittencourt Neto <mneto@buriti.com.br> wrote:
>
>> Hi all, I am using squid cache since 1.0beta7 and since the 1.1 seems to
>> be released soon I would like to know which is the "safer" method to
>> upgrade both squid.conf and the cache dir.
>
>cache dir :
>
>rm -rf /usr/local/squid/cache
>mkdir /usr/local/squid/cache
>
>Then, let Squid 1.1 reloads it. Unless you pay your link by the byte,
>trying to convert the cache is a waste of time.

There is a Perl script provided to convert your 1.0 cache to the
1.1 layout. Note however that it may run very slowly because it
must rename() all of the swap files. Also it only works if
you are keeping the same number of cache_dir's etc...

The script is scripts/upgrade-1.0-store.pl

Duane W.
Received on Mon Nov 18 1996 - 10:53:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:34 MST