Search squid archive

Re: Change Protocol of Squid Error Pages

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

 



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




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

  Powered by Linux