From owner-freebsd-questions@FreeBSD.ORG Tue Oct 27 01:41:08 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6349106566C for ; Tue, 27 Oct 2009 01:41:08 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id E85C68FC1C for ; Tue, 27 Oct 2009 01:41:02 +0000 (UTC) Received: (qmail 61094 invoked by uid 89); 27 Oct 2009 01:42:52 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 27 Oct 2009 01:42:51 -0000 Message-ID: <4AE64FAE.2020303@ibctech.ca> Date: Mon, 26 Oct 2009 21:41:02 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Alexander Best References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: howto use https in favour of http X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2009 01:41:09 -0000 Alexander Best wrote: > hi there, > > i've added the following line to my /etc/hosts: > > permail.uni-muenster.de:25 permail.uni-muenster.de:443 > > so what i want is for freebsd to never use http, but https for that address. > unfortunately hosts doesn't seem to support this syntax. It doesn't work that way. The 'hosts' file resolves a name to an IP address. I can see what you want to do here, but to get there, you must provide in your own words what it is you want exactly... Steve