Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 49CAF200D27 for ; Wed, 25 Oct 2017 19:25:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4820F160BDA; Wed, 25 Oct 2017 17:25:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4009E1609CE for ; Wed, 25 Oct 2017 19:25:41 +0200 (CEST) Received: (qmail 20084 invoked by uid 500); 25 Oct 2017 17:25:39 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 20074 invoked by uid 99); 25 Oct 2017 17:25:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2017 17:25:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id CA509180719 for ; Wed, 25 Oct 2017 17:25:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.9 X-Spam-Level: X-Spam-Status: No, score=-0.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_SHORT=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=eroi.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id wFIvfO3M1-aO for ; Wed, 25 Oct 2017 17:25:34 +0000 (UTC) Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 10F8D5FB40 for ; Wed, 25 Oct 2017 17:25:34 +0000 (UTC) Received: by mail-pf0-f176.google.com with SMTP id n14so460290pfh.8 for ; Wed, 25 Oct 2017 10:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eroi.com; s=google; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=MaijUuLNvmKY0Onm3HGJlIbnQlD8uF3EL9hl6mC7dBI=; b=OUfKctYol5b0/y68B630/MOHPlq1mixSKnw9h4QgdpV1CypnZlu/fjE3he1aY58SXD wJiwCH3ebF8Y4qAXVRrQxN2wo3jzNv6luJ+fDMLEJHr/7Z5Cwz2fDaAk0wco08uVLkdO BdklJVC/EuAnYE9GbkaA/2sb0CHGUPg9gSMhY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=MaijUuLNvmKY0Onm3HGJlIbnQlD8uF3EL9hl6mC7dBI=; b=mTI+1mKo7np6eu71YQCaSQ8JLiBW2ubuqm3eKS+gYD8lRqMjUewM37IPFakDNzHViW fG0p7pJQv5t66ZycBDDT1W7vc+q7SIyhz9WUEDkyjZQX6nhNdxsqzEfyjnuKFlJcP1GT YMEV8jnQC09I8MVJw3Bc4cynprpLIyP5LGuziD7uNMpLpOEqWZj1QMQkTxBO6MKKFDPI 9BuWxCdZDCMlPd+wHrt6G7tvC2Wnf51BiNvlIjYqHlRlDHCChKuff/YsLkTE6zaNWWeE cgHTl+P3vW2qM5D5rZv9NreoEwgJ7iz5hYwPdzJHb6c67xoqwD7IGhhtXKoi1OxrTRFi QyWQ== X-Gm-Message-State: AMCzsaVu75jPzpwljo2USLQOH/AaWTiyC7tFddIg2TSZrFwdtkZgeU+0 P/KATB2QAsTmO2L0+cOzFjyvwaZk7rU= X-Google-Smtp-Source: ABhQp+Q/KaUS7bzlmpo2EZ6PUFe1Rhj7kpZMdaZAEelHWxaFmE0N+a7/sA+OD5cNY366H7gNFIwMAw== X-Received: by 10.84.142.131 with SMTP id 3mr2244471plx.26.1508952332114; Wed, 25 Oct 2017 10:25:32 -0700 (PDT) Received: from [192.168.1.102] (173-164-113-53-Oregon.hfc.comcastbusiness.net. [173.164.113.53]) by smtp.gmail.com with ESMTPSA id z9sm5274777pgc.85.2017.10.25.10.25.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Oct 2017 10:25:31 -0700 (PDT) From: Jason Brooks Content-Type: multipart/alternative; boundary="Apple-Mail=_E132FBE1-826E-449F-AABC-E8C84AAE7C91" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Date: Wed, 25 Oct 2017 10:25:29 -0700 References: <12E005FE-75DC-4374-A033-A3C36D1B6EDE@eroi.com> <5032A7591CD3A342977F866638A087FFDE585F@MAILSVR.miclub.local> <9B51D573-A2BA-46CF-9A82-20E0C1A1C6E9@eroi.com> To: users@httpd.apache.org In-Reply-To: Message-Id: <0B7F07CB-E4CB-4020-9570-ED58CA15C6D7@eroi.com> X-Mailer: Apple Mail (2.3273) Subject: Re: [users@httpd] How can I detect if SSLEngine is ON? archived-at: Wed, 25 Oct 2017 17:25:42 -0000 --Apple-Mail=_E132FBE1-826E-449F-AABC-E8C84AAE7C91 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Sweet Rainer, I will try that and get back to you! =E2=80=94jason Jason Brooks Systems Administrator eROI Performance is Art. =20 m: 505 nw couch #300 w: eroi.com t: 503.290.3105 f: 503.228.4249 fb: fb.com/eROI > On Oct 25, 2017, at 6:34 AM, Rainer Canavan = wrote: >=20 > [...] >> But, I don=E2=80=99t just need to know if a module is available: once = the module is loaded, its available for all virtualhosts. I need to = know if the SSLEngine has been enabled within a virtualhost so I can do = something like the following: >=20 > mod_ssl sets the environment variable HTTPS to "on" if the current > request was received via https. You should be able to use the "env=3D" > conditions for Header set to get your example to work as intended. >=20 > https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#envvars >=20 > rainer >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org >=20 --Apple-Mail=_E132FBE1-826E-449F-AABC-E8C84AAE7C91 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Sweet Rainer, I will try that and get back to you!

=E2=80=94jason

Jason BrooksSystems Administrator
eROIPerformance is Art.
 
m:505 nw couch #300w:eroi.com
t:503.290.3105f:503.228.4249


fb:fb.com/eROI








On Oct 25, 2017, at 6:34 AM, Rainer Canavan <rainer.canavan@sevenval.com> wrote:

[...]
But, = I don=E2=80=99t just need to know if a module is available: once the = module is loaded, its available for all virtualhosts.  I need to = know if the SSLEngine has been enabled within a virtualhost so I can do = something like the following:

mod_ssl sets the environment variable HTTPS to "on" if the = current
request was received via https. You should be able = to use the "env=3D"
conditions for Header set to get your = example to work as intended.

https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#envvars<= br class=3D"">
rainer

---------------------------------------------------------------= ------
To unsubscribe, e-mail: = users-unsubscribe@httpd.apache.org
For additional = commands, e-mail: users-help@httpd.apache.org


= --Apple-Mail=_E132FBE1-826E-449F-AABC-E8C84AAE7C91--