Re: [squid-users] Change Protocol of Squid Error Pages

From: max <max_at_roflmail.de>
Date: Fri, 25 Jul 2014 19:42:07 +0200

Am 25.07.2014 13:38, schrieb Amos Jeffries:
> On 25/07/2014 9:09 p.m., max wrote:
>> Hey there,
>> i'm wondering is it possible to change the protocol of Squid error Pages?
>>
>> For Example:
>>
>> When squid redirects to "deny_info 307:ERR_BLOCK" the request is made in
>> http but i want to use https.
>> Is that possible?
>> I am not able to use https://somedomain because of dynamic content on
>> the Error Page.
> You answered your own question right there.
>
> The 307 code is just an instruction for the client to fetch a different
> URL - the one following the ':' in deny_info parameter. That can be any
> valid URI. Including https:// ones.
>
> Dynamic content in the page that deny_info URL presents has nothing to
> do with Squid.
>
> Amos
>
>
Well yes, in my case it has.
I use Squid to load the dynamic Content. My ERR_BLOCK calls a Page with
an iframe - this loads content.
So i would would need to call the URI with some kind of variable. A
token to call the iframe Data.
like
https://somepage.tld/?=randomtokenhere
But i dont know if there is a way i can do that within squid.conf

Cheers
Max
Received on Fri Jul 25 2014 - 17:42:09 MDT

This archive was generated by hypermail 2.2.0 : Sat Jul 26 2014 - 12:00:05 MDT