You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by vijay shanker <vi...@gmail.com> on 2010/01/04 13:58:24 UTC

[users@httpd] Proxy Errror

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

Re: [users@httpd] Proxy Errror

Posted by vijay shanker <vi...@gmail.com>.
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 <vi...@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 <co...@gmail.com> wrote:
>
>> On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker <vi...@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@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@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>

Re: [users@httpd] Proxy Errror

Posted by vijay shanker <vi...@gmail.com>.
oh yes;

but not in the configuration file. !

:)

thanks.

Regards,
Vijay Shanker Dubey



On Mon, Jan 4, 2010 at 7:24 PM, Eric Covener <co...@gmail.com> wrote:

> On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker <vi...@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@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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] Proxy Errror

Posted by Eric Covener <co...@gmail.com>.
On Mon, Jan 4, 2010 at 8:52 AM, vijay shanker <vi...@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@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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Proxy Errror

Posted by vijay shanker <vi...@gmail.com>.
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 <co...@gmail.com> wrote:

> On Mon, Jan 4, 2010 at 7:58 AM, vijay shanker <vi...@gmail.com>
> wrote:
> >    ProxyPass / http://localhsot:8014/accounts/
> > Reason: DNS lookup failure for: localhsot
>
> typo
>
> --
> Eric Covener
> covener@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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] Proxy Errror

Posted by Eric Covener <co...@gmail.com>.
On Mon, Jan 4, 2010 at 7:58 AM, vijay shanker <vi...@gmail.com> wrote:
>    ProxyPass / http://localhsot:8014/accounts/
> Reason: DNS lookup failure for: localhsot

typo

-- 
Eric Covener
covener@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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org