howto use https in favour of http

Scott Bennett bennett at
Wed Oct 28 08:17:47 UTC 2009

     On Tue, 27 Oct 2009 09:32:21 -0400 Michael Powell <nightrecon at>
>Scott Bennett wrote:
>>>> Alexander Best wrote:
>>>>>> Hi,
>>>>>>> i've added the following line to my /etc/hosts:
>>>>>>> so what i want is for freebsd to never use http, but https for that
>>>>>>> address.
>Perhaps the easiest direct solution is to bookmark 
> in the browser bookmarks instead of
     If he wants to apply the HTTPS requirement only to a particular page
(e.g., the home page) at a web site, that *might* work.  OTOH, there may
be points of failure, such as this example in the page whose URL is shown

	<a href=""

Depending upon a bookmark would also fail to apply the restriction to any
links to other pages at the same site that the user might click on on the
page.  It also ignores the many dozens (hundreds?) of security problems
that are fixed/blocked by plug-ins like NoScript and Torbutton.
     Once NoScript has been installed, it is plenty easy, as I outlined
previously, to apply such a restriction to an entire web site or to all
web sites in a given domain.

                                  Scott Bennett, Comm. ASMELG, CFIAG
* Internet:       bennett at                              *
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *

More information about the freebsd-questions mailing list