Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 28859 invoked from network); 18 Aug 2010 14:02:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Aug 2010 14:02:21 -0000 Received: (qmail 43514 invoked by uid 500); 18 Aug 2010 14:02:18 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 43164 invoked by uid 500); 18 Aug 2010 14:02:15 -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 43156 invoked by uid 99); 18 Aug 2010 14:02:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 14:02:14 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.212.173] (HELO mail-px0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 14:02:09 +0000 Received: by pxi12 with SMTP id 12so301237pxi.18 for ; Wed, 18 Aug 2010 07:01:48 -0700 (PDT) Received: by 10.114.203.10 with SMTP id a10mr9638414wag.42.1282140108337; Wed, 18 Aug 2010 07:01:48 -0700 (PDT) Received: from [192.168.100.200] (203-217-63-195.dyn.iinet.net.au [203.217.63.195]) by mx.google.com with ESMTPS id c10sm559518wam.13.2010.08.18.07.01.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Aug 2010 07:01:46 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) From: Des Hartman In-Reply-To: Date: Thu, 19 Aug 2010 00:01:41 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: <8503AF87-97D1-4481-BA86-46930603B2A3@deshartman.com> References: <1AB154B2-FC84-48F8-B88B-B968E583C6FB@deshartman.com> To: users@httpd.apache.org X-Mailer: Apple Mail (2.1081) Subject: Re: [users@httpd] HTTP -> Apache2 /var/www only & HTTPS -> Tomcat via mod_proxy only Eric Thanks for the reply. I tried this: NameVirtualHost *:443 ServerAdmin webmaster@localhost SSLEngine On SSLCertificateFile /etc/apache2/ssl/apache.pem #=3D=3D=3D=3D=3D=3D=3D ProxyPass /SFXServer/ balancer://backtcserver/ and it seem to work. Issue I now hit is I get a 404 from my backend = Tomcat "203.217.63.195 - - [18/Aug/2010:13:47:14 +0000] "POST = /SFXServer/spring/messagebroker/amf HTTP/1.1" 404 522 "-" "Mozilla/5.0 = (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.4 (KHTML, = like Gecko) Chrome/5.0.375.126 Safari/533.4" " Is there a way to enable more detailed debugging to see why? If I have = the proxy pass in httpd.conf, I do not get this error, but I can reach = the backend Tomcat on the same URL using http and https, which is not = what I want. Thanks Des On 18/08/2010, at 11:51 PM, Eric Covener wrote: > On Wed, Aug 18, 2010 at 8:22 AM, Des Hartman = wrote: >> Hi, >>=20 >> Is there a simple way to do the following: >>=20 >> 1) All "http" based requests to website www.abc.com go to my Apache2 = server regardless of the virtual site >>=20 >> 2) All "https" based requests to website www.abc.com are proxied to a = private tomcat server via mod_proxy >=20 > You already need two vhosts for the two frontend protocols. Just put > ProxyPass directives in the SSL vhost. >=20 > --=20 > Eric Covener > covener@gmail.com >=20 > --------------------------------------------------------------------- > 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 >=20 --------------------------------------------------------------------- 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