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 49D6A193EB for ; Thu, 28 Apr 2016 15:28:04 +0000 (UTC) Received: (qmail 54840 invoked by uid 500); 28 Apr 2016 15:27:59 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 54776 invoked by uid 500); 28 Apr 2016 15:27:58 -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 54765 invoked by uid 99); 28 Apr 2016 15:27:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2016 15:27:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 307681A4596 for ; Thu, 28 Apr 2016 15:27:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.023 X-Spam-Level: X-Spam-Status: No, score=-5.023 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id BJMkjByTauQ4 for ; Thu, 28 Apr 2016 15:27:57 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 4B4475FAF3 for ; Thu, 28 Apr 2016 15:27:57 +0000 (UTC) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9B27A3D1 for ; Thu, 28 Apr 2016 15:27:56 +0000 (UTC) Received: from localhost.localdomain (vpn1-4-215.ams2.redhat.com [10.36.4.215]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u3SFRs1n008359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 28 Apr 2016 11:27:56 -0400 To: modules-dev@httpd.apache.org From: =?UTF-8?Q?Luk=c3=a1=c5=a1_Hellebrandt?= Subject: Authz provider module: r->server->server_scheme is (null) Message-ID: <57222BFA.4030000@redhat.com> Date: Thu, 28 Apr 2016 17:27:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Hi, I have an Apache module which is an authz_provider. In this module, I have request_rec *r. I need to get an URI scheme used (i.e. "http", "https"...). However, r->server->server_scheme is (null). Why is that? And is there any other way to get the used scheme? Thanks for help! -- Lukas Hellebrandt Associate Quality Engineer lhellebr@redhat.com