Re: [squid-users] Special needs for redirector

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 06 Dec 2006 22:48:30 +0100

ons 2006-12-06 klockan 13:59 +0200 skrev Emil Ungurean:

> I've googled around a lot trying to find a "working" answer how can I
> actually redirect from http to https, from the redirector program. I would
> like not to mess with the squid.conf if that's possible.

If you want the browser to go to the https site then

print "301:https://www.example.com\n";

If you want the browser to continue using HTTP, but Squid to switch to
https then return the https URL you want Squid to go to (2.6 or later).

Regards
Henrik

Received on Wed Dec 06 2006 - 14:48:35 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST