Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 88157 invoked from network); 10 Jan 2011 15:11:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jan 2011 15:11:53 -0000 Received: (qmail 39646 invoked by uid 500); 10 Jan 2011 15:11:49 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 39554 invoked by uid 500); 10 Jan 2011 15:11:49 -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 39545 invoked by uid 99); 10 Jan 2011 15:11:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 15:11:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mightydreams@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 15:11:44 +0000 Received: by iye19 with SMTP id 19so18442727iye.18 for ; Mon, 10 Jan 2011 07:11:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=+eXhKd0mL9QLTzuqgCPVxcaX3BRiKB0jwawjQ160I8Y=; b=trkd8U1g4miY3pTIn3eiGWoadQYlaye1j59ZEJTpXOF2yMpq8ziMplgHH/n+gyAMuy IqcRahWuUHztSuxLFXz/GFT+e4UWQ3E46vqjtXGutFsja1qu19FEZMuwGUPrGdeT67dO SNEdVnub58hcn9oIILVY8SL3/UiMxiGvqZ6a8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Fsy1vbUggjhLVLwgNYBvOk/2Kwlm9j/JwCz68QE+MuMTSjOQbuWLvwDJPOpo0i8ygL JvUlrKZkKeTnPKwN/6JDXTJoD2SvWWwJ+hQ2T8rohWIiGS/1IRb4RCHCih8ZKqIce7Aw U72391tMZ+oScsD/r7N96+2ulwQBQCPTVAeeg= MIME-Version: 1.0 Received: by 10.42.241.133 with SMTP id le5mr4310370icb.398.1294672283691; Mon, 10 Jan 2011 07:11:23 -0800 (PST) Received: by 10.42.96.71 with HTTP; Mon, 10 Jan 2011 07:11:23 -0800 (PST) In-Reply-To: <4D2AF323.6020807@sanguis.xs4all.nl> References: <4D2AF323.6020807@sanguis.xs4all.nl> Date: Mon, 10 Jan 2011 20:41:23 +0530 Message-ID: From: Tapas Mishra To: users@httpd.apache.org, joost@sanguis.xs4all.nl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [users@httpd] invalid response from Proxy dns lookup failure On Mon, Jan 10, 2011 at 5:23 PM, Joost de Heer wr= ote: > On 01/10/2011 08:17 AM, Tapas Mishra wrote: >> >> Ok here is a situation =A0today morning I had rebooted the server and I >> observed and I see response for one of the application complaining >> http://myserver.com/app1 >> >> This is the error I see in browser >> >> Proxy Error >> >> The proxy server received an invalid response from an upstream server. >> The proxy server could not handle the request GET /app1. >> >> Reason: DNS lookup failure for: myserver.com > > Your proxy host can't resolve myserver.com > >> http://pastebin.com/aXceB1wt > > Is there a special reason why you have a proxypass to http, but a > proxypassreverse to https? Thanks that was a mistake indeed. Apart from this I found some thing which I feel is the root cause of the entire problem When my proxy pass entries look as follows ProxyPass /app1 http://192.168.1.3:8080/app1 ProxyPass / http://192.168.1.3 ProxyPassReverse /app1 http://192.168.1.3:8080/app1 ProxyPassReverse / http://192.168.1.3 then some one from internet is able to access the sites.But from within LAN people are unable to access it. How ever if I use ProxyPass /app1 http://site1.myserver.com:8080/app1 ProxyPass / http://site1.myserver.com ProxyPassReverse /app1 http://site1.myserver.com:8080/app1 ProxyPassReverse / http://site1.myserver.com then things work on LAN but from internet it is not accessible and errors are the ones I mentioned while starting the thread. What can be a solution in this case as I do not have a DNS at my disposal I am simply not allowed to have one. Is there any other way because my websites are inside a corporate LAN whose domain name is different from the ones I mentioned above as myserver.com --------------------------------------------------------------------- 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