From nobody Tue Feb 21 00:27:41 2023 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PLKqy0qfGz3shXR for ; Tue, 21 Feb 2023 00:27:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PLKqy0MXZz45lB; Tue, 21 Feb 2023 00:27:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676939262; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IKIND8NLFXnUS/O7abyWg/C/XY8v0iQcNnA3eDbIalo=; b=lHE9i76YXTzD479RR2oRgAliY9C2Mqk2eHTIQG+CNFuLrNcrFtij0+3fgBoGfVzlR2+aRs 9UCVC82DDi9nk4fJMtIbyUqqozAEb8Bo4rKmguoE0n0bYfHygo5gqLO1G109fJJ9t3iAs5 5lpwfFB8DThwNglxTAICiDuodFu1Sc+5d/2Sz+PyyjjuLBGTZuV0LoJ1JHZPp5Y7ZVyBDb zvNvYDxO3gD9H3SmYQxOcCoXrp39ayEPVUgh6EcKRMQ1GRoLf8t595iMrFavtgHAcwiuXu h0u0FUI0V7rrlTEwPsHg8/9/G/PBUv6PQ1qA7O1t+EGmWSd3qDfFfBDxdH28SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676939262; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IKIND8NLFXnUS/O7abyWg/C/XY8v0iQcNnA3eDbIalo=; b=udnnOC33oXlXp0tGGEWXj3BWE5n8uOH2c5E41HgCau8BEO5EZbon3jvGl9Ej0X6gjvRTvf xep/e+IWKQBazxLx/a+BtcD5UfsjUewwTE7bRGLSBZ/KYQywbemOXRGoP8yn7nW/h13Ps6 eTujntLqfGxHZwnH3j9GC29y1Pr/fnzMY9GiSCI5MSwPSBZd3fnWD1FAAVBmN+QUCu9FLJ y0wyx85IKsZ5XQVFSk0tWVzSiktkXHQZdnstHq54qBqX4WT3aL1q2PJleU490JkRJg/m/h WCaAYESP4yzp9F0ISptJhVvnvyydfF67gGAyRe/Ls7lXE7uUiMhjrQ/xUuEgNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676939262; a=rsa-sha256; cv=none; b=XKhnDBpA+wrGlyN9aEUP9TIyKGx5ibKA2dh9xIUjCwKQyKoD0E693P6LFDnsInZiDOgOrD 0bDZKBjImgjT6hNNdtaEchjpCgcwYblXcf/fq0/Tv4g4GCjRVaTorOZd2JLHhjXHP+mAua jRMnf0YTVkX3ONTUdgrohkirbNV+bGRz312LBChtme4hA7QA+e8i1LUJQbRAxQaSexrrhQ vLzRfo+6op1immNZpG8tECiMZcKqvf7cQTR2tCQCU+8z+GLlq9gTLojdVZm5k+6HGnt5ga crtY8aU052V4/BGHVA50NGfbIYXO7iq/5ab63XX6C+16Aep+xgRb5V0OsxyKyg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PLKqx6Y7Bz11LN; Tue, 21 Feb 2023 00:27:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31L0Rfrn054088; Tue, 21 Feb 2023 00:27:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31L0RfCh054087; Tue, 21 Feb 2023 00:27:41 GMT (envelope-from git) Date: Tue, 21 Feb 2023 00:27:41 GMT Message-Id: <202302210027.31L0RfCh054087@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: "Danilo G. Baio" Subject: git: 17b1d3ecdd - main - cgi/cgi-style.pl: Prepare it to decouple /mail and /doc from the main site List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dbaio X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 17b1d3ecdda64cde99d083e99dec0cc14f83984b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/doc/commit/?id=17b1d3ecdda64cde99d083e99dec0cc14f83984b commit 17b1d3ecdda64cde99d083e99dec0cc14f83984b Author: Danilo G. Baio AuthorDate: 2023-02-21 00:26:59 +0000 Commit: Danilo G. Baio CommitDate: 2023-02-21 00:26:59 +0000 cgi/cgi-style.pl: Prepare it to decouple /mail and /doc from the main site --- website/content/en/cgi/cgi-style.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/en/cgi/cgi-style.pl b/website/content/en/cgi/cgi-style.pl index 46f6aa126f..5bf069fde6 100644 --- a/website/content/en/cgi/cgi-style.pl +++ b/website/content/en/cgi/cgi-style.pl @@ -14,7 +14,7 @@ if (!defined($hsty_base)) { # However, if we aren't running as a cgi, or if we're # running on cgi, hub, docs or people, use the absolute home path. if (!defined($ENV{'HTTP_HOST'}) || - $ENV{'HTTP_HOST'} =~ /(docs|man|man-dev|people|ports).freebsd.org/i) { + $ENV{'HTTP_HOST'} =~ /(docs|docs-archive|mail-archive|man|man-dev|people|ports).freebsd.org/i) { $hsty_base = 'https://www.FreeBSD.org' } else {