Re: [squid-users] Can Squid hide all 404s from clients?

From: Leonardo Rodrigues Magalhães <leolistas_at_solutti.com.br>
Date: Thu, 21 Aug 2008 16:02:57 -0300

Benton Roberts escreveu:
> Dear Squid-masters,
>
> I would like to configure Squid so that it always serves the "latest
> available" version of any given URL, even if the URL is no longer available
> at the original server. In this way, Squid's clients would never receive an
> error for a given URL, as long as that URL had been available to Squid at
> some time in the past. So Squid should check for the latest version of any
> URL through its normal cache behavior -- I just want it to treat HTTP
> response codes other than 2xx (OK) as a special case, and "hide" them from
> the requesting client, and serve from cache instead.
>

    are you sure you wanna do this kind of configuration ??? have you
ever imagined that you can be feeding your users with really
invalid/very outdated pages ??? If the site admin took the files off off
the webserver, maybe there's some reason for that ....

    i dont know if this can be done, as it would be a very agressive
http standards violaton .... anyway, i would recommend you to NOT do this.

-- 
	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br
	Minha armadilha de SPAM, NÃO mandem email
	gertrudes_at_solutti.com.br
	My SPAMTRAP, do not email it
Received on Thu Aug 21 2008 - 19:03:08 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 22 2008 - 12:00:03 MDT