Search squid archive

Re: Can Squid hide all 404s from clients?

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

 





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@xxxxxxxxxxxxxx
	My SPAMTRAP, do not email it






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

  Powered by Linux