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
cmk128 [ Fr, 28 September 2007 20:03 ] [ ID #1831637 ]

Re: proxypass problem

Post removed (X-No-Archive: yes)
Notifier Deamon [ Fr, 28 September 2007 20:07 ] [ ID #1831638 ]

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
cmk128 [ Sa, 29 September 2007 16:09 ] [ ID #1832279 ]
Webserver » alt.apache.configuration » proxypass problem

Vorheriges Thema: regards files and not its visibility protection
Nächstes Thema: mod_rewrite: if browsing to site.com/folder, how do I ignore RewriteRules and retrieve the file?