Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6F5A4200C5E for ; Sat, 8 Apr 2017 07:11:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6DD23160BA2; Sat, 8 Apr 2017 05:11:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B3F1C160B97 for ; Sat, 8 Apr 2017 07:11:45 +0200 (CEST) Received: (qmail 59000 invoked by uid 500); 8 Apr 2017 05:11:44 -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 58989 invoked by uid 99); 8 Apr 2017 05:11:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Apr 2017 05:11:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E238C189BFA for ; Sat, 8 Apr 2017 05:11:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.381 X-Spam-Level: **** X-Spam-Status: No, score=4.381 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id DF9xx0xOmM-6 for ; Sat, 8 Apr 2017 05:11:41 +0000 (UTC) Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 341815F1B3 for ; Sat, 8 Apr 2017 05:11:41 +0000 (UTC) Received: by mail-lf0-f42.google.com with SMTP id h125so50558974lfe.0 for ; Fri, 07 Apr 2017 22:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=hZO0ku1mpUGiC7AqxCSMf4dhT/NwGLNwueGJSoPUpjE=; b=l6/lwRTKQ7Mr+GiTiqUO2RFKjzxwIu86lUeccVzru2wYb4Ba129enDRIGQX9Qfp0B0 wbWZLLcjCookzSc/52DwFbpMvJYxpecqek08/eUXX5g01dqEYebWPips3mdpxT+SyLeQ vX4BBFmCJ4kuj6XAmdalVR8lUPNouhoZEzLs1EnqB3Jx/NeRcdaAldTUiTJXE+zPlRym VPmORb1IcHr9zyWNQipPa3OjB1fVJxxnIKnZQQTKe5UIBMTcq8cMfPkHGAZpVzm8ZM9f /FPux9KsEZ4sCO0gkxTf2ND0tNS3hiYg+p0Y1zVSlZ+EEcliIvFgHZeJsHk31mkKxOMm OBZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hZO0ku1mpUGiC7AqxCSMf4dhT/NwGLNwueGJSoPUpjE=; b=Rf1hfuNdp7cZB7P5ihlYZX1YR6BCPvzNltNMGNKV4lQYTcFc2L1wKsM/LyKoWYE0T7 tl7FomQNKoqMKiZ9HVE/NKlqcIyzDRsE1NBsk5+Jf3418riegNEtf/JyVDLKfNSCdPGl ucULuef1vhJSuYP4vpCzGAVPUJ2zmfh6vrCjRzKXT0x4zfq2rwhzJVxEvGAghg0k+2U/ CLWSR7mmaLI0esh3YUceKpU/ubf8XpbTsFI7nUNCEiS1hBUv5gXnHvIeaDB7w0KF7M8/ ULiWsB+W6yPQa80vRmPOTG/VCnKMoXdNbOPt7Yohgoo0cpeeG9poDuhxEbZQeNchXBif kfbQ== X-Gm-Message-State: AFeK/H1wdo6po35Q5qtt3jUdNiHVnc3v8iHwCKckWWRANMeSFlmHNLlDyo8LXoy4P8CogBkuSX+I6geQv5UIKQ== X-Received: by 10.46.21.23 with SMTP id s23mr10961870ljd.15.1491628300042; Fri, 07 Apr 2017 22:11:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.128.149 with HTTP; Fri, 7 Apr 2017 22:11:39 -0700 (PDT) From: Ajay Garg Date: Sat, 8 Apr 2017 10:41:39 +0530 Message-ID: To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=94eb2c1cc926f60db7054ca0c65f Subject: [users@httpd] ProxyPass and ProxyPassReverse not working for URLs other than / archived-at: Sat, 08 Apr 2017 05:11:46 -0000 --94eb2c1cc926f60db7054ca0c65f Content-Type: text/plain; charset=UTF-8 Hi All. When I have the following configuration : ######################################################### ProxyPass / http://127.0.0.1:9000/ ProxyPassReverse / http://127.0.0.1:9000/ ######################################################### and I type http://1.2.3.4 in the browser, the page is successfully proxied to the forwarded port 9000, and the to-and-fro interaction is perfect. However, if I use, ######################################################### ProxyPass /9000/ http://127.0.0.1:9000/ ProxyPassReverse /9000/ http://127.0.0.1:9000/ ######################################################### and I type http://1.2.3.4/9000/ in the browser, it says the resource cannot be found. How can this be corrected? I am sure I am doing something wrong while specifying the ProxyPass and ProxyPassReverse directives. Thanks and Regards, Ajay --94eb2c1cc926f60db7054ca0c65f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All.


When I have th= e following configuration :

########################################= #################
<VirtualHost *:80>
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ProxyPass / http://12= 7.0.0.1:9000/
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ProxyPassRe= verse / http://127.0.0.1:9000/
&l= t;/VirtualHost>
#####################################################= ####

and I type http://1.2.3.4 = in the browser, the page is successfully proxied to the forwarded port 9000= , and the to-and-fro interaction is perfect.



However, = if I use,

#########################################################=
<VirtualHost *:80>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = ProxyPass /9000/ http://127.0.0.1:9000/<= /a>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ProxyPassReverse /9000/ <= a href=3D"http://127.0.0.1:9000/">http://127.0.0.1:9000/

</Virtua= lHost>
#########################################################
<= br>and I type http://1.2.3.4/9000/ in = the browser, it says the resource cannot be found.


How can= this be corrected? I am sure I am doing something wrong while specifying t= he ProxyPass and ProxyPassReverse directives.


Thanks and R= egards,
Ajay
--94eb2c1cc926f60db7054ca0c65f--