Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BBED9796A for ; Fri, 22 Jul 2011 14:38:51 +0000 (UTC) Received: (qmail 93895 invoked by uid 500); 22 Jul 2011 14:38:51 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 93698 invoked by uid 500); 22 Jul 2011 14:38:50 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 93690 invoked by uid 99); 22 Jul 2011 14:38:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 14:38:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of support@bettercgi.com designates 216.17.105.202 as permitted sender) Received: from [216.17.105.202] (HELO ps536.phatservers.com) (216.17.105.202) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 14:38:40 +0000 Received: from r74-192-17-33.bcstcmta01.clsttx.tl.dh.suddenlink.net ([74.192.17.33] helo=[10.0.2.104]) by ps536.phatservers.com with esmtpa (Exim 4.66) (envelope-from ) id 1QkGrm-00047x-3h for modules-dev@httpd.apache.org; Fri, 22 Jul 2011 07:38:14 -0700 References: User-Agent: K-9 Mail for Android In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Subject: Re: Finding out original request's scheme From: "adultsitesoftware@gmail.com" Date: Fri, 22 Jul 2011 09:38:04 -0500 To: modules-dev@httpd.apache.org Message-ID: <39661868-d93f-4866-9239-22c4fd3577db@email.android.com> X-Virus-Checked: Checked by ClamAV on apache.org During which hook is it not set? Had anyone bothered to grep the code to se= e where it's supposed to be set? Jason Funk wrote:= >Then this thread is of interest to me too. :) There is always room to >i= mprove. > >On Fri, Jul 22, 2011 at 4:34 AM, Ignaz Birnstingl >wrote: > >> > I just check the local port: >> > >> > c->local_addr->= port =3D=3D 443 -> HTTPS >> > c->local_addr->port =3D=3D 80 -> HTTP >> > >= > > It should work for most implementations. >> >> Well the ports can be co= nfigured, e.g. in my development environment >I >> let Apache listen on 800= 0 resp. 8443. The scheme detection should >work >> for all configurations. = >> >> -- Ignaz >> -- Sent from my Android phone with K-9 Mail. Please exc= use my brevity.