Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 36262 invoked from network); 17 Dec 2010 20:40:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Dec 2010 20:40:23 -0000 Received: (qmail 77710 invoked by uid 500); 17 Dec 2010 20:40:19 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 77593 invoked by uid 500); 17 Dec 2010 20:40:19 -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 77583 invoked by uid 99); 17 Dec 2010 20:40:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Dec 2010 20:40:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [81.93.173.73] (HELO mail03.osl.basefarm.net) (81.93.173.73) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Dec 2010 20:40:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=osl.basefarm.net; s=mail03; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=e5jyOGtRoAylg09rfv1nJ8MIQd2Z/XE2xCUL7sArnwI=; b=VBuOEU6W9lrOLhSZZBm9wANg0ylucKWwGtt8qvZ2OPH09SlwRpc1aTk3mKHUC3l+CxLbyhNFFMqwYsr/ptoRp6EYZdjjwtVYhg068I2MPdSHVqP7zfD6jpPUVIST3fG0u4QizFVlU9/0uRlqh0i3KcPTSWleXQ//oYugTAW6Kys=; Received: from c83-251-130-121.bredband.comhem.se ([83.251.130.121]:48091 helo=[192.168.0.14]) by mail03.osl.basefarm.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1PTh5h-00025s-Bg for users@httpd.apache.org; Fri, 17 Dec 2010 21:39:49 +0100 Message-ID: <4D0BCA8F.9050207@basefarm.se> Date: Fri, 17 Dec 2010 21:39:43 +0100 From: =?UTF-8?B?QmrDtnJuIFpldHRlcmdyZW4=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: users@httpd.apache.org References: <1544345082.2700.1291969623456.JavaMail.root@iris> <4D021539.3020505@tione.eu> <4D038EDE.6030601@adaptr.nl> <4D0584A4.8080004@tione.eu> <87FC85CC4AE9C94D9EF34083790C610F02DE1709@bangladesh.disanet.disa-u.mil> <4D06A609.2000705@tione.eu> In-Reply-To: <4D06A609.2000705@tione.eu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated: bjopet@mail03.osl.basefarm.net b28da3f6240510a99d7afe5fcf2d7b72 X-Scan-Result: No virus found in message 1PTh5h-00025s-Bg. X-Scan-Signature: mail03.osl.basefarm.net 1PTh5h-00025s-Bg 3aa9e71946b59fc85190dccd1537c46e Subject: Re: [users@httpd] SetEnv HTTPS on... not working. (UNCLASSIFIED) >> -----Original Message----- >> From: Mxrgus Pxrt [mailto:margus@tione.eu] >> Sent: Sunday, December 12, 2010 4:28 PM [...] >> Components: >> - client >> - SSL offloader (Apache) >> - Backend server (Apache) >> >> RewriteCond %{HTTP:HTTPS} !=on >> RewriteRule (.*) https://example.com/$1 [L,R=301] I'm not sure if you've recieved an answer for this, but you could set a new header in the SSL-Offloader if the incomming request is indeed https, for example "RequestHeader set X-Forwarded-SSL %{HTTPS}e env=HTTPS". Then in your backend application server you can check %{HTTP:X-Forwarded-SSL} in your RewriteCond. /Björn --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org