proxypass problem

proxypass problem

am 28.09.2007 20:03:49 von cmk128

Hi
I have 3 servers:
a.com
1.b.com
2.b.com

1.b.com and 2.b.com is sharing the same static IP. In a.com, i proxy
pass a url request to 2.b.com, it is ok only on the first page. When i
click any link, the url in my broswer will become http://2.b.com/whatever.html
, it should be http://a.com/whatever.html . How to fix it?

How can i define the server hostname in tomcat config file?

thanks
from Peter

Re: proxypass problem

am 28.09.2007 20:07:56 von unknown

Post removed (X-No-Archive: yes)

Re: proxypass problem

am 29.09.2007 16:09:06 von cmk128

On 9 29 , 2 07 , Davide Bianchi
wrote:
> On 2007-09-28, cmk...@hotmail.com wrote:
>
> > 1.b.com and 2.b.com is sharing the same static IP. In a.com, i proxy
> > pass a url request to 2.b.com,
>
> And you also have a ProxyPassReverse line for it?
>
> Davide
>
> --
> Failure is not an option -- it comes bundled with Windows.

Hi , I fixed it by adding ProxyPort and ProxyName in tomcat's
server.xml