proxypass problem
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
Post removed (X-No-Archive: yes)
Re: proxypass problem
On 9 29 , 2 07 , Davide Bianchi <davideyeahs... [at] onlyforfun.net>
wrote:
> On 2007-09-28, cmk... [at] hotmail.com <cmk... [at] 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