Re: [squid-users] squid 3.2 and error_map equivalent

2013-03-26 Thread Amos Jeffries
e- From: Martin Sperl Sent: Dienstag, 26. März 2013 08:29 To: Amos Jeffries; squid-users@squid-cache.org Subject: RE: [squid-users] squid 3.2 and error_map equivalent Hi Amos! I hear what you are saying (especially about the http_response_access), but: The thing with the config I have sent

RE: [squid-users] squid 3.2 and error_map equivalent

2013-03-26 Thread Martin Sperl
uld inflict collateral damage) Would you accept that? (I would tend towards the first, as it seem simpler without a code-review) Thanks, Martin -Original Message- From: Martin Sperl Sent: Dienstag, 26. März 2013 09:27 To: Amos Jeffries; squid-users@squid-cache.org Subject: R

RE: [squid-users] squid 3.2 and error_map equivalent

2013-03-26 Thread Martin Sperl
ideas, besides a patch to help achieve what I need? I think I now have covered everything that is possible (and learned a lot in that phase) as well... Martin -Original Message- From: Martin Sperl Sent: Dienstag, 26. März 2013 08:29 To: Amos Jeffries; squid-users@squid-cache.org Subject: R

RE: [squid-users] squid 3.2 and error_map equivalent

2013-03-26 Thread Martin Sperl
Hi Amos! I hear what you are saying (especially about the http_response_access), but: The thing with the config I have sent is that as soon as I have icap-service down the "http_access deny all" triggers and I get Status 403 plus in the body: "you are not allowed to access". But with this "http

Re: [squid-users] squid 3.2 and error_map equivalent

2013-03-25 Thread Amos Jeffries
On 26/03/2013 3:21 a.m., Martin Sperl wrote: Hi Amos! That is an entirely different problem to the one you have been talking about so far. For me it was all error pages (independent of if it is a DENY or anything else). To replace just the page Squid is generating you do not have to configur

RE: [squid-users] squid 3.2 and error_map equivalent

2013-03-25 Thread Martin Sperl
Hi Amos! > That is an entirely different problem to the one you have been talking > about so far. For me it was all error pages (independent of if it is a DENY or anything else). > To replace just the page Squid is generating you do not have to > configure anything. Just remove all the installed

Re: [squid-users] squid 3.2 and error_map equivalent

2013-03-25 Thread Amos Jeffries
On 25/03/2013 10:55 p.m., Martin Sperl wrote: OK, this seems a reasonable enough approach (but not ideal with the redirect) - I will give it a try. There is no redirect unless you specify an external URL location in deny_info. Use a static template / filename at that will be injected as the

RE: [squid-users] squid 3.2 and error_map equivalent

2013-03-25 Thread Martin Sperl
generated by squid and not by the upstream servers? (so that the error page redirect only happens in those cases) Martin -Original Message- From: Amos Jeffries [mailto:squ...@treenet.co.nz] Sent: Samstag, 23. März 2013 02:15 To: squid-users@squid-cache.org Subject: Re: [squid-users] squ

Re: [squid-users] squid 3.2 and error_map equivalent

2013-03-22 Thread Amos Jeffries
On 23/03/2013 4:57 a.m., Martin Sperl wrote: Hi! Is there an equivalent for the squid 2.X error_map functionality? Depending on context we would need to provide different error messages and text customizations. The error_map config would have been an ideal match for my requirements - a small