From owner-freebsd-apache@freebsd.org Sun Oct 18 12:57:27 2020 Return-Path: Delivered-To: freebsd-apache@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 449EE431009 for ; Sun, 18 Oct 2020 12:57:27 +0000 (UTC) (envelope-from brnrd@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CDg0717LYz4S7R for ; Sun, 18 Oct 2020 12:57:27 +0000 (UTC) (envelope-from brnrd@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 24DA5430958; Sun, 18 Oct 2020 12:57:27 +0000 (UTC) Delivered-To: apache@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 24A05430957 for ; Sun, 18 Oct 2020 12:57:27 +0000 (UTC) (envelope-from brnrd@freebsd.org) Received: from smtp02.qsp.nl (smtp02.qsp.nl [193.254.214.163]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CDg065h2Rz4S51 for ; Sun, 18 Oct 2020 12:57:26 +0000 (UTC) (envelope-from brnrd@freebsd.org) Received: from smtp.brnrd.eu (unknown [193.164.217.85]) by smtp02.qsp.nl (Postfix) with ESMTPSA id 6B02318685; Sun, 18 Oct 2020 14:57:24 +0200 (CEST) Received: from mail.bachfreund.nl (unknown [172.17.2.10]) by smtp.brnrd.eu (Postfix) with ESMTPSA id 4CDg033L4tzCy; Sun, 18 Oct 2020 12:57:23 +0000 (UTC) MIME-Version: 1.0 Date: Sun, 18 Oct 2020 14:57:23 +0200 From: Bernard Spil To: Tom R , apache@freebsd.org Subject: Re: mod_http2 or ap24-mod_http2 In-Reply-To: References: User-Agent: Roundcube Webmail/1.4.9 Message-ID: <929dbf7eea973a89afa146dbfaad2c40@freebsd.org> X-Sender: brnrd@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CDg065h2Rz4S51 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:12315, ipnet:193.254.214.0/23, country:NL] X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2020 12:57:27 -0000 On 2020-10-14 00:50, Tom R wrote: > Hi Bernard, > > I want to add a section on using http2 in FreeBSD. I'm looking over > the apache website, and took a very quick look at the code. From what > I can tell, the mod_http2 does most if not all of the http2 > implementation, but the ap24-mod_http2 does all of the h2 and h2c TLS > requirements. > > Which is better, because I am completely lost. Thank you so much for > any reply! > > -- > Tom Rhodes > (trhodes@FreeBSD.org) Hi Tom, The www/mod_http2 port is not required to enable HTTP/2 in Apache! (just load the module, and add Protocol h2 to your SSL vhost config). The www/apache24 port comes with the mod_h2 module enabled by default (HTTP2=on: HTTP/2 (RFC 7540) support). You can disable it with make config. The www/mod_http2 port only exists to provide users with early access to the next version that will be shipped with a next Apache 2.4 release. Over the past years, various security fixes have been applied in the mod_http2 port that appeared in the apache24 port quite a bit later. Thus users may choose to use the latest release in stead of the bundled module. Please DO mention this in any guide as an aside, but make clear this this is not necessary for regular use. Cheers, Bernard.