Apache Server configuration support - proxypass problem

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > September 2007 > proxypass problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author proxypass problem
cmk128@hotmail.com

2007-09-28, 1:27 pm

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

Davide Bianchi

2007-09-28, 1:27 pm

On 2007-09-28, cmk128@hotmail.com <cmk128@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.
cmk128@hotmail.com

2007-09-29, 1:22 pm

On 9 29 , 2 07 , Davide Bianchi <davideyeahs...@onlyforfun.net>
wrote:
> On 2007-09-28, cmk...@hotmail.com <cmk...@hotmail.com> wrote:
>
>
> 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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com