HOW to REDIRECT to HTTPS?

Dick Dowdell dick.dowdell at gmail.com
Thu Mar 3 14:21:32 UTC 2011


On Thu, Mar 3, 2011 at 8:03 AM, erikmccaskey64 <erikmccaskey64 at zoho.com>wrote:

> I'm searching for a method [on client side] to redirect to HTTPS in a few
> given domains.
>
> e.g.:
>
> http://www.facebook.com/
>
> to
>
> https://www.facebook.com/
>
> Ok. I use several webbrowsers, and not all of them has "add-ons" to
> redirect these pages to https.
>
> My purpose is this: when i go to "http://www.facebook.com" i don't want to
> see any http traffic with wireshark
>
> Is this possible?? How can i achieve it? How can i automatically redirect
> http traffic for given domain names to HTTPS??
>
> is it enough to redirect http? I mean then the webserver [e.g.:
> www.facebook.com] recognizes that i want to "talk" over HTTPS?
>
> I has a caching-nameserver on my pc - BIND
>
> I have an "ad blocking" proxy on my pc - PRIVOXY
>
> And my pc is a "linux box" - IPTABLES [iptables only knows ip addresses?]
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
The last I knew, when you redirect to another URL the scheme/protocol is set
by the URL i.e., if you use https://, you'll get https if the server can
handle it.  If the server doesn't support https, it won't accept the
request.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110303/be99d459/attachment.html>


More information about the ubuntu-users mailing list