RE: [squid-users] "Access denied" pages for HTTPS requests

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 15 Nov 2010 22:18:55 +0000

On Mon, 15 Nov 2010 17:14:49 +0100, "Vonlanthen, Elmar"
<Elmar.Vonlanthen_at_united-security-providers.ch> wrote:
> Hello
>
>> This is a Internet Explorer setting under "Internet Options
>> -> Advanced
>> -> Browsing" called "Show Friendly HTTP Error messages",
>> disable this to
>> get the real error messages.
>
> This is not working for me. If I do it under IE 8, I still get the same
> message (even with browser restart):
> ----
> Internet Explorer cannot display the webpage
>
> What you can try:
> You are not connected to the Internet. Check your Internet
> connection
>
> Retype the address.
>
> Go back to the previous page.
>
> Most likely causes:
> *You are not connected to the Internet.
> *The website is encountering problems.
> *There might be a typing error in the address.
>
> More information
> ----
>
> And it would not be a feasible solution, because I cannot control the
> clients settings.
>
> But I think this cannot work, because the client is not trying to get
> the website with a GET request but with a CONNECT request. So Squid is
> not able to send the errorpage back. Or am I wrong?

Squid *is* sending the error page response back. However, there were some
security vulnerabilities and at least one virus discovered a while back
involving the way the popular browsers display such pages. So they disabled
it.

The 307 status code was created for non-GET redirects. Use that and as the
browsers gain support for it your site will start to work. Hopefully some
may already.

Amos
Received on Mon Nov 15 2010 - 22:19:00 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 16 2010 - 12:00:03 MST