Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 71986 invoked from network); 27 Apr 2010 09:26:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 09:26:05 -0000 Received: (qmail 86416 invoked by uid 500); 27 Apr 2010 09:26:01 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 86255 invoked by uid 500); 27 Apr 2010 09:26:01 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 86241 invoked by uid 99); 27 Apr 2010 09:26:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 09:26:00 +0000 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of timomeinen@googlemail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-ww0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 09:25:54 +0000 Received: by wwd20 with SMTP id 20so3383124wwd.18 for ; Tue, 27 Apr 2010 02:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=6yjXFc6qnOToCdasAyd/hku0viEW1u0cThuDd62NTlQ=; b=uLxfyUvhqj1mEebOPMUff/xbXN6kIL2aulkAG6rFfSJjCNjiStb1r81fYmC95fuA48 UerbYPag3twYSk1oQtcZ339NF4kGmEkxxvas10SywlrMTd8GClHJjmiK6IpEl4oe7IUw OcXEKnTXma96J8xGNW5iRg6ZBBmwSE9RSLJbU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=paa3C5rojv09QfVk62DL++kTzbpbfWKwAaT5Zn6+GlLnJCmo/s0NZByysMAfygBYoX rs8OAwWgKyfKI4z2UvPtlY8iDEiwGne8WRz27pRgQiEt6aSQcLCpDyipggdt6VKB/6Uf N9oQblY5Sx5zN07CaAFiURtVJroqAYuF/ZIx4= MIME-Version: 1.0 Received: by 10.216.88.148 with SMTP id a20mr1856588wef.124.1272360334206; Tue, 27 Apr 2010 02:25:34 -0700 (PDT) Received: by 10.216.164.130 with HTTP; Tue, 27 Apr 2010 02:25:34 -0700 (PDT) In-Reply-To: References: Date: Tue, 27 Apr 2010 11:25:34 +0200 Message-ID: Subject: Re: How to configure ProxyPassReverse for SSL redirect From: Timo Meinen To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Is someone out there, who can explain me, what the problem is? Does the ProxyPassReverse only removes the ContextPath if the protocol (http/https) in the response is the same than in the request? Is it possible to configure the Proxy to ignore the protocol information? Thank you for any hint - I am stuck with this problem. Best regards, Timo 2010/4/22 Timo Meinen : > Hi Hassan, > > yes, there are two VirtualHost entries. One for port 80 and one for > port 443 with SSL engine enabled. Both have the same proxy > configuration. > > Timo > > 2010/4/22 Hassan Schroeder : >> On Thu, Apr 22, 2010 at 3:25 AM, Timo Meinen = wrote: >> >>> our configuration is a Apache 2.2 web server, acting as a reverse >>> proxy for Tomcat 6. This is the configuration: >>> ServerName =A0 =A0it.localhost.de >>> ProxyPass =A0 =A0 =A0 =A0 =A0 =A0 =A0 / =A0 =A0 =A0 ajp://127.0.0.1:800= 9/spike/ >>> ProxyPassReverse =A0 =A0 =A0 =A0/ =A0 =A0 =A0 ajp://127.0.0.1:8009/spik= e/ >>> ProxyPassReverseCookiePath =A0 =A0 =A0/spike =A0/ >> >> That's *one* configuration -- do you have this for both the standard >> port 80 and SSL port 443? >> >> In a default 2.2.x install there are separate extra/httpd-vhosts.conf an= d >> extra/httpd-ssl.conf files. >> >> -- >> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com >> twitter: @hassan >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> > > > > -- > Gl=FCck Auf > Timo > --=20 Gl=FCck Auf Timo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org