Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3EF3102D3 for ; Thu, 31 Oct 2013 16:33:03 +0000 (UTC) Received: (qmail 25728 invoked by uid 500); 31 Oct 2013 16:25:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 25483 invoked by uid 500); 31 Oct 2013 16:25:31 -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 25301 invoked by uid 99); 31 Oct 2013 16:25:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Oct 2013 16:25:20 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [75.180.132.120] (HELO cdptpa-omtalb.mail.rr.com) (75.180.132.120) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Oct 2013 16:25:12 +0000 X-Authority-Analysis: v=2.0 cv=dZcCLAre c=1 sm=0 a=CMIagxsx9fMjTR9dGS23VA==:17 a=4jdjCIWhz9QA:10 a=FKkrIqjQGGEA:10 a=MQomdDaHziAA:10 a=gKdNUozYXGYA:10 a=wPDyFdB5xvgA:10 a=Fx01H1t8AAAA:8 a=KGjhK52YXX0A:10 a=eINbGJPkcjMA:10 a=A1X0JdhQAAAA:8 a=FkfBHw3mAAAA:8 a=zLjfGgwzI34VTSU-pTcA:9 a=QEXdDO2ut3YA:10 a=resepmd4uhkA:10 a=qiWi7Edwir4A:10 a=NWVoK91CQyQA:10 a=IbJ68Qnpvj3EMJmde4kA:9 a=_W_S_7VecoQA:10 a=tXsnliwV7b4A:10 a=DtfsiNcJ8h3rD9i6:21 a=CMIagxsx9fMjTR9dGS23VA==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 98.26.39.66 Received: from [98.26.39.66] ([98.26.39.66:2513] helo=mail.electrichendrix.com) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 84/B0-00725-35482725; Thu, 31 Oct 2013 16:24:51 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.electrichendrix.com (Postfix) with ESMTP id F15C61182FA for ; Thu, 31 Oct 2013 12:15:02 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail.electrichendrix.com Received: from mail.electrichendrix.com ([127.0.0.1]) by localhost (mail.electrichendrix.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vXv7iVA_B9Mn for ; Thu, 31 Oct 2013 12:15:02 -0400 (EDT) Received: from mail.electrichendrix.com (mail.electrichendrix.com [192.168.124.3]) by mail.electrichendrix.com (Postfix) with ESMTP id 527D11182F9 for ; Thu, 31 Oct 2013 12:15:02 -0400 (EDT) Date: Thu, 31 Oct 2013 12:15:02 -0400 (EDT) From: Chris Arnold To: users@httpd.apache.org Message-ID: <1183152282.77870.1383236102205.JavaMail.root@electrichendrix.com> In-Reply-To: References: <295661460.74421.1383181164969.JavaMail.root@electrichendrix.com> <1075308585.76112.1383229229094.JavaMail.root@electrichendrix.com> <1959686903.76587.1383232098369.JavaMail.root@electrichendrix.com> <1768703093.77596.1383234121602.JavaMail.root@electrichendrix.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_77869_879660890.1383236102203" X-Mailer: Zimbra 8.0.0_GA_5434 (ZimbraWebClient - FF10 (Linux)/8.0.0_GA_5434) Thread-Topic: Another mod_proxy Question/Issue Thread-Index: AalJruj3HfnX34SrC3Diruc8D8jHiA== X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Another mod_proxy Question/Issue ------=_Part_77869_879660890.1383236102203 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit >>What URL are you using to access this vhost? >If you want to access https://example.com/share/ and have that hit the proxy, you would need to make the proxy config
ProxyPass /share/ https://192.168.123.3:8443/share/ https://share.example.com which will end up being https://share.example.com/share
>>Exactly! Your config should be >>ProxyPass /share/ https://192.168.123.3:8443/share/ ProxyPass /share/ https://192.168.123.3:8443/share/ and ProxyPass /share https://192.168.123.3:8443/share give an access forbidden 403 error. >>This means that the path /share/ will be redirected to the same path on the inner server. >>The parallel >>ProxyPass / https://192.168.123.3:8443/ >>would give you the same effect, but also try to proxy any other paths that are used on that vhost which is probably not what you want to >>do. ------=_Part_77869_879660890.1383236102203 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
>>What URL are you using to access this vhost?
>If you want to access https://example.com/share/ and have that hit the proxy, you would need to make the proxy config
ProxyPass /share/ https://192.168.123.3:8443/share/

>>Exactly! Your config should be


give an access forbidden 403 error.

>>This means that the path /share/ will be redirected to the same path on the inner server.
>>The parallel
>>would give you the same effect, but also try to proxy any other paths that are used on that vhost which is probably not what you want to >>do.

------=_Part_77869_879660890.1383236102203--