Search squid archive

Re: Disabling error pages

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

 



> On tor, 2008-10-16 at 13:02 +0100, Robert Morrison wrote:
>
>> I've found lots of references online (in this list's archives, other
>> sites and the FAQ) to customising error pages in squid, but haven't
>> yet found reference to removing error pages completely.
>
> You can't. Oce the request has reached the proxy the proxy must respond
> with someting. If it fails retreiving the requested object the polite
> thing is to respond with an error message explaining what happened and
> what the user can do to fix the peoblem.
>
> If you fo not want to be polite to the users then you MAY change the
> error pages to just a blank page with no visible content, but there
> still needs to be somr kind of response.
>
>> Is this possible without editing source code? I think I saw reference
>> to setting font color in error messages to the same as background, but
>> I'd prefer something a little less hackish ;)
>
> Yes. Just replace the error pages with a file containing just the
> following line:
>
> <!-- %s -->
>
> Regards
> Henrik
>

Also see TCP_RESET
http://www.squid-cache.org/Versions/v3/3.0/cfgman/deny_info.html

Amos



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

  Powered by Linux