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
This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST