I am currently working to configure squid for an Internet security appliance which I do development on. Part of this is to block certain URLs by redirecting them to a page on the local server which displays a message indicating why the URL was blocked.

To implement this for HTTPS, we have implemented squid as an HTTPS proxy server with a redirector. To block the web page, the redirector simply returns either 301: or 302: followed by the local URL of the block page to display.

This works great with FireFox or IE7. But it does not work with IE8. We do a packet capture and see the redirect returned to IE8, which seems to completely ignore it, saying only that:

Internet Explorer cannot display the webpage

Has anybody seen this before or have any ideas what could be the problem?

Like I said, it works fine in FireFox and IE7.