Search squid archive

RE: Special needs for redirector

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

 



fre 2006-12-08 klockan 13:48 +0200 skrev Emil Ungurean:
> Could you explain this a little more? Or perhaps an example that works for
> you might solve my problem. Thanks.

You should not redirect CONNECT requests back to https, as these is
already the https requests that you wanted to see.

Both the GET http:// and CONNECT site:443 requests is sent to your
redirector. Only the GET http:// request should be redirected with a
301:https://..

#!/usr/bin/perl -pa
BEGIN { $| = 1; }
next if ($F[3] eq "CONNECT");
s/^http:/301:https:/;

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux