Proxy Errror
--001636d348c3057466047c56486e
Content-Type: text/plain; charset=ISO-8859-1
Hi fiends;
i have configured my apache instance to delegate requests to a application
running on tomcat container.
lets say my URL for tomcat container is
http://localhost:8014/accounts
I want to access this URL from
http://localhost
Now the configuration in vertual host, i have made to access this is
========
ProxyPreserveHost On
ProxyPass / http://localhsot:8014/accounts/
ProxyPassReverse / http://localhost:8014/accounts/
=========
When i am trying to access http://localhost it gives me following text on
the page
=====================
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET/.
Reason: DNS lookup failure for: localhsot
------------------------------------------------------------ ----------------------------------------------
Apache/2.2.12 (Ubuntu) Server at localhost Port 80
=====================
Can some body please describe the situation for me.
Regards,
Vijay Shanker Dubey
--001636d348c3057466047c56486e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div>Hi fiends;</div><div><br></div><div>i have configured my apache instan=
ce to delegate requests to a application running on tomcat container.=A0</d=
iv><div><br></div><div>lets say my URL for tomcat container is=A0</div><div=
>
<br></div><div><a href=3D"http://localhost:8014/accounts">http://localhost:=
8014/accounts</a></div><div><br></div><div>I want to access this URL from</=
div><div><br></div><div><a href=3D"http://localhost">http://localhost</a></=
div>
<div><br></div><div>Now the configuration in vertual host, i have made to a=
ccess this is=A0</div><div>=3D=3D=3D=3D=3D=3D=3D=3D</div><div><div>=A0=A0 P=
roxyPreserveHost On</div><div>=A0=A0 ProxyPass / <a href=3D"http://localhso=
t:8014/accounts/">http://localhsot:8014/accounts/</a></div>
<div>=A0=A0 ProxyPassReverse / <a href=3D"http://localhost:8014/accounts/">=
http://localhost:8014/accounts/</a></div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D</=
div></div><div><br></div><div>When i am trying to access <a href=3D"http://=
localhost">http://localhost</a> it gives me following text on the page</div=
>
<div><br></div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D</div><div>Proxy Error</div><div><br></div><div>The proxy server r=
eceived an invalid
response from an upstream server.</div><div><br></div><div>The proxy server=
could not handle the request GET/.</div><div><br></div><div>Reason: DNS lo=
okup failure for: localhsot</div><div>-------------------------------------=
------------------------------------------------------------ ---------</div>
<div>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</div>=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<div><br></div><div>Can =
some body please describe the situation for me.</div><div><br clear=3D"all"=
>Regards,<br>Vijay Shanker Dubey<br><br>
</div>
--001636d348c3057466047c56486e--
Re: Proxy Errror
On Mon, Jan 4, 2010 at 7:58 AM, vijay shanker <vijay.shad [at] gmail.com> wrote:
> =A0=A0 ProxyPass / http://localhsot:8014/accounts/
> Reason: DNS lookup failure for: localhsot
typo
--
Eric Covener
covener [at] gmail.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Proxy Errror
--001636c93192fbb3e8047c570a38
Content-Type: text/plain; charset=ISO-8859-1
Oh Eric,
thanks for pointing
now i have changed the settings to
---
ProxyPass /accounts http://localhsot:8014/
---
and you know what; i got the desired page!
:)
thanks.
Regards,
Vijay Shanker Dubey
On Mon, Jan 4, 2010 at 7:15 PM, Eric Covener <covener [at] gmail.com> wrote:
> On Mon, Jan 4, 2010 at 7:58 AM, vijay shanker <vijay.shad [at] gmail.com>
> wrote:
> > ProxyPass / http://localhsot:8014/accounts/
> > Reason: DNS lookup failure for: localhsot
>
> typo
>
> --
> Eric Covener
> covener [at] gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>
>
--001636c93192fbb3e8047c570a38
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div>Oh Eric,</div><div><br></div><div>thanks for pointing=A0</div><div><br=
></div><div>now i have changed the settings to=A0</div><div><br></div><div>=
---</div><div>ProxyPass /accounts <a href=3D"http://localhsot:8014/">http:/=
/localhsot:8014/</a></div>
<div>---</div><div><br></div>and you know what; i got the desired page! =A0=
<div><br></div><div>:)</div><div><br></div><div>thanks.</div><div><br clear=
=3D"all">Regards,<br>Vijay Shanker Dubey<br><br>
<br><br><div class=3D"gmail_quote">On Mon, Jan 4, 2010 at 7:15 PM, Eric Cov=
ener <span dir=3D"ltr"><<a href=3D"mailto:covener [at] gmail.com">covener [at] gma=
il.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class=3D"im">On Mon, Jan 4, 2010 at 7:58 AM, vijay shanker <<a href=
=3D"mailto:vijay.shad [at] gmail.com">vijay.shad [at] gmail.com</a>> wrote:<br>
> =A0=A0 ProxyPass / <a href=3D"http://localhsot:8014/accounts/" target=
=3D"_blank">http://localhsot:8014/accounts/</a><br>
</div><div class=3D"im">> Reason: DNS lookup failure for: localhsot<br>
<br>
</div>typo<br>
<br>
--<br>
Eric Covener<br>
<a href=3D"mailto:covener [at] gmail.com">covener [at] gmail.com</a><br>
<br>
------------------------------------------------------------ ---------<br>
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:<a href=3D"http://httpd.apache.org/userslist.html" target=3D"_b=
lank">http://httpd.apache.org/userslist.html</a>> for more info.<br>
To unsubscribe, e-mail: <a href=3D"mailto:users-unsubscribe [at] httpd.apache.or=
g">users-unsubscribe [at] httpd.apache.org</a><br>
=A0 " =A0 from the digest: <a href=3D"mailto:users-digest-unsubscribe=
[at] httpd.apache.org">users-digest-unsubscribe [at] httpd.apache.org</a><br>
For additional commands, e-mail: <a href=3D"mailto:users-help [at] httpd.apache.=
org">users-help [at] httpd.apache.org</a><br>
<br>
</blockquote></div><br></div>
--001636c93192fbb3e8047c570a38--
Re: Proxy Errror
On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker <vijay.shad [at] gmail.com> wrote:
> Oh Eric,
> thanks for pointing
> now i have changed the settings to
> ---
> ProxyPass /accounts http://localhsot:8014/
> ---
> and you know what; i got the desired page!
(That still has the typo)
--
Eric Covener
covener [at] gmail.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Proxy Errror
--001636c932896dd8da047c571675
Content-Type: text/plain; charset=ISO-8859-1
oh yes;
but not in the configuration file. !
:)
thanks.
Regards,
Vijay Shanker Dubey
On Mon, Jan 4, 2010 at 7:24 PM, Eric Covener <covener [at] gmail.com> wrote:
> On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker <vijay.shad [at] gmail.com>
> wrote:
> > Oh Eric,
> > thanks for pointing
> > now i have changed the settings to
> > ---
> > ProxyPass /accounts http://localhsot:8014/
> > ---
> > and you know what; i got the desired page!
>
>
> (That still has the typo)
>
> --
> Eric Covener
> covener [at] gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>
>
--001636c932896dd8da047c571675
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
oh yes;<div><br></div><div>but not in the configuration file. !</div><div><=
br></div><div>:)</div><div><br></div><div>thanks.</div><div><br clear=3D"al=
l">Regards,<br>Vijay Shanker Dubey<br><br>
<br><br><div class=3D"gmail_quote">On Mon, Jan 4, 2010 at 7:24 PM, Eric Cov=
ener <span dir=3D"ltr"><<a href=3D"mailto:covener [at] gmail.com">covener [at] gma=
il.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class=3D"im">On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker <<a href=
=3D"mailto:vijay.shad [at] gmail.com">vijay.shad [at] gmail.com</a>> wrote:<br>
> Oh Eric,<br>
> thanks for pointing<br>
> now i have changed the settings to<br>
> ---<br>
> ProxyPass /accounts <a href=3D"http://localhsot:8014/" target=3D"_blan=
k">http://localhsot:8014/</a><br>
> ---<br>
> and you know what; i got the desired page!<br>
<br>
<br>
</div>(That still has the typo)<br>
<div><div></div><div class=3D"h5"><br>
--<br>
Eric Covener<br>
<a href=3D"mailto:covener [at] gmail.com">covener [at] gmail.com</a><br>
<br>
------------------------------------------------------------ ---------<br>
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:<a href=3D"http://httpd.apache.org/userslist.html" target=3D"_b=
lank">http://httpd.apache.org/userslist.html</a>> for more info.<br>
To unsubscribe, e-mail: <a href=3D"mailto:users-unsubscribe [at] httpd.apache.or=
g">users-unsubscribe [at] httpd.apache.org</a><br>
=A0 " =A0 from the digest: <a href=3D"mailto:users-digest-unsubscribe=
[at] httpd.apache.org">users-digest-unsubscribe [at] httpd.apache.org</a><br>
For additional commands, e-mail: <a href=3D"mailto:users-help [at] httpd.apache.=
org">users-help [at] httpd.apache.org</a><br>
<br>
</div></div></blockquote></div><br></div>
--001636c932896dd8da047c571675--
Re: Proxy Errror
--001636b14cbeeb10a7047c574803
Content-Type: text/plain; charset=ISO-8859-1
Hi
i have got this thing working :)
----
ProxyPreserveHost On
ProxyPass / http://localhost:8014/accounts/
ProxyPassReverse / http://localhost/
------
Eric, it was realy a typo. And i was not getting correct page.
But now thing is solved. got the correct page.
:)
Regards,
Vijay Shanker Dubey
On Mon, Jan 4, 2010 at 7:26 PM, vijay shanker <vijay.shad [at] gmail.com> wrote:
> oh yes;
>
> but not in the configuration file. !
>
> :)
>
> thanks.
>
> Regards,
> Vijay Shanker Dubey
>
>
>
>
> On Mon, Jan 4, 2010 at 7:24 PM, Eric Covener <covener [at] gmail.com> wrote:
>
>> On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker <vijay.shad [at] gmail.com>
>> wrote:
>> > Oh Eric,
>> > thanks for pointing
>> > now i have changed the settings to
>> > ---
>> > ProxyPass /accounts http://localhsot:8014/
>> > ---
>> > and you know what; i got the desired page!
>>
>>
>> (That still has the typo)
>>
>> --
>> Eric Covener
>> covener [at] gmail.com
>>
>> ------------------------------------------------------------ ---------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
>> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
>> For additional commands, e-mail: users-help [at] httpd.apache.org
>>
>>
>
--001636b14cbeeb10a7047c574803
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi<div><br></div><div>i have got this thing working :)</div><div><br></div>=
<div>----</div><div><div>ProxyPreserveHost On</div><div>ProxyPass / <a href=
=3D"http://localhost:8014/accounts/">http://localhost:8014/a ccounts/</a></d=
iv>
<div>ProxyPassReverse / <a href=3D"http://localhost/">http://localhost/</a>=
</div><div>------</div></div><div>Eric, it was realy a typo. And i was not=
=A0getting=A0correct page.</div><div>But now thing is solved. got the corre=
ct page.</div>
<div><br></div><div>:)</div><div><br></div><div><br clear=3D"all">Regards,<=
br>Vijay Shanker Dubey<br><br>
<br><br><div class=3D"gmail_quote">On Mon, Jan 4, 2010 at 7:26 PM, vijay sh=
anker <span dir=3D"ltr"><<a href=3D"mailto:vijay.shad [at] gmail.com">vijay.s=
had [at] gmail.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
oh yes;<div><br></div><div>but not in the configuration file. !</div><div><=
br></div><div>:)</div><div><br></div><div>thanks.</div><div><br clear=3D"al=
l">Regards,<br><font color=3D"#888888">Vijay Shanker Dubey</font><div><div>
</div><div class=3D"h5"><br><br>
<br><br><div class=3D"gmail_quote">On Mon, Jan 4, 2010 at 7:24 PM, Eric Cov=
ener <span dir=3D"ltr"><<a href=3D"mailto:covener [at] gmail.com" target=3D"_=
blank">covener [at] gmail.com</a>></span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
<div>On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker <<a href=3D"mailto:vi=
jay.shad [at] gmail.com" target=3D"_blank">vijay.shad [at] gmail.com</a>> wrote:<b=
r>
> Oh Eric,<br>
> thanks for pointing<br>
> now i have changed the settings to<br>
> ---<br>
> ProxyPass /accounts <a href=3D"http://localhsot:8014/" target=3D"_blan=
k">http://localhsot:8014/</a><br>
> ---<br>
> and you know what; i got the desired page!<br>
<br>
<br>
</div>(That still has the typo)<br>
<div><div></div><div><br>
--<br>
Eric Covener<br>
<a href=3D"mailto:covener [at] gmail.com" target=3D"_blank">covener [at] gmail.com</a=
><br>
<br>
------------------------------------------------------------ ---------<br>
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:<a href=3D"http://httpd.apache.org/userslist.html" target=3D"_b=
lank">http://httpd.apache.org/userslist.html</a>> for more info.<br>
To unsubscribe, e-mail: <a href=3D"mailto:users-unsubscribe [at] httpd.apache.or=
g" target=3D"_blank">users-unsubscribe [at] httpd.apache.org</a><br>
=A0 " =A0 from the digest: <a href=3D"mailto:users-digest-unsubscribe=
[at] httpd.apache.org" target=3D"_blank">users-digest-unsubscribe [at] httpd.apache.=
org</a><br>
For additional commands, e-mail: <a href=3D"mailto:users-help [at] httpd.apache.=
org" target=3D"_blank">users-help [at] httpd.apache.org</a><br>
<br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
--001636b14cbeeb10a7047c574803--