-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alle 15:52, gioved� 15 novembre 2001, hai scritto:


QUOTE PLZ !!!


> > Georg Bauer <[EMAIL PROTECTED]> writes:
> > > Hello,
> > >
> > > I use the SnF with an activated Squid as transparent proxy.
> >
> > I have uploaded
> >
> > > some files via ftp on my homepage. If I look at the code on
> >
> > the server I see
> >
> > > the updated links but if I access the site with Netscape or
> >
> > IE I get the old
> >
> > > links on the sites.
> > > I have already cleared the cache of the browsers. If I
> >
> > disable squid the
> >
> > > sites will be displayed with the new links.
> > >
> > > Now I have two questions:
> > >  +How can I clear the cache of the proxy?
> > >  +How can I configure how long the sites in the cache would
> >
> > be halted before
> >
> > > they will be killed?
> > >
> > > Thank you!
> > >
> > > Bye,
> > > Georg B.
> >
> > I hate to repeat things one can already find in the docs ...
> > but here it
> > is:
> >
> > first question:
> >
> > http://www.squid-cache.org/Doc/FAQ/FAQ-7.html#ss7.3
> >
> > 7.3 I want to restart Squid with a clean cache
> >
> > Note: The information here is current for version 2.2.
> >
> > First of all, you must stop Squid of course. You can use the command:
> >
> >         % squid -k shutdown
> >
> > The fastest way to restart with an entirely clean cache is to
> > over write the swap.state files for each cache_dir in your
> > config file. Note, you can not just remove the swap.state
> > file, or truncate it to
> > zero size. Instead, you should put just one byte of garbage
> > there. For example:
> >
> >         % echo "" > /cache1/swap.state
> >
> > Repeat that for every cache_dir, then restart Squid. Be sure
> > to leave the swap.state file with the same owner and
> > permissions that it had before!
> >
> > Another way, which takes longer, is to have squid recreate
> > all the cache_dir directories. But first you must move the
> > existing directories out of the way. For example, you can try this:
> >
> >         % cd /cache1
> >         % mkdir JUNK
> >         % mv ?? swap.state* JUNK
> >         % rm -rf JUNK &
> >
> > Repeat this for your other cache_dir's, then tell Squid to
> > create new directories:
> >
> >         % squid -z
> >
> > second question:
> >
> > you should read the /etc/squid/squid.conf file itself, the
> > refresh_pattern
> > section or read the following:
> >
> > http://squid.visolve.com/squid24s1/tuning.htm#refresh_pattern
> >
> > cheers,
> > --
> > Florin                      http://www.mandrakesoft.com
>
> I`m sorry!
>
> Georg B.

- -- 
<?php 
/**************************************************************************
� � � � � � � � �Emiliano 'AlberT' Gabrielli
E-Mail:              [EMAIL PROTECTED]
Web:                 http://SuperAlberT.it
                        http://www.totocom.it
IRC:                  #php � � � �irc.oltrelinux.com
                        http://SuperAlberT.it/index.php/include/javachat
ML:                   http://SuperAlberT.it/mailman/listinfo/
************************************************************************/ ?>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE78916HT7fKa+io+URAhfUAJ9dJpnzkrgpmS9HKk/ScwxFsAT4WwCgrooH
VlqqG6Po2KYwyd7akK/rFU4=
=cSlL
-----END PGP SIGNATURE-----

Reply via email to