This is a discussion on Problem with port number on redirects within the Linux Web Servers forums, part of the Web Server and Related Forums category; I am not sure if I can explain this well, but here it goes. I am running apache 2.0....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am not sure if I can explain this well, but here it goes.
I am running apache 2.0.48 that uses a mod_iiop connector from Borland to forward requests to a tomcat server. Users enter into our system using a F5(BIG-IP) on port 80. This in turn performs round-robin to our apache servers running on port 7080 which in turn forwards the request to tomcat on port 8080. When a jsp running in tomcat does a redirect the redirect ends up going to the F5 on port 7080 instead of port 80. I have searched the mailing list and have seen similiar questions to this, but not been able to get an answer that seems to work for me. I can not change the port of apache to port 80(firewall reasons), and so far UseCanonicalNames turned off and trying ProxyPassReverse did not do the trick. My question is do you know of a way to make this work? Or am I stuck trying to get the mod_iiop connector from Borland to do what I need. Thanks for any help you can give Bill |
|
|||
|
Am Fri, 04 Jun 2004 09:27:08 -0700 schrieb Bill Eme:
> I am not sure if I can explain this well, but here it goes. > I am running apache 2.0.48 that uses a mod_iiop connector from Borland > to forward requests to a tomcat server. I don't know mod_iiop but i had the same problem with mod_jk2 > Users enter into our system using a F5(BIG-IP) on port 80. This in > turn performs round-robin to our apache servers running on port 7080 > which in turn forwards the request to tomcat on port 8080. When a jsp > running in tomcat does a redirect > the redirect ends up going to the F5 on port 7080 instead of port 80. That's what i did to fix the problem: Turn "UseCanonicalName on" append the http port to the server name "ServerName www.server.com:80" If there is no problem with the module this should work. otherwise it is possible to add a "proxyPort="80" into your tomcat's server.xml this is a way when you are doing an http connect to tomcat via ProxyPassReverse. If all the other ways are not working it is probably a bug in the module. here's the bug i found for mod_jk2 http://issues.apache.org/bugzilla/show_bug.cgi?id=16901 and the fix wich worked for me is at http://issues.apache.org/bugzilla/sh...attach_id=4819 Probably it is the same kind of problem. Cheers Markus > I have searched the mailing list and have seen similiar questions to > this, but not been able to get an answer that seems to work for me. > I can not change the port of apache to port 80(firewall reasons), and > so far UseCanonicalNames turned off and trying ProxyPassReverse did > not do the trick. maybe have a look at the bug DB > My question is do you know of a way to make this work? Or am I stuck > trying to get the mod_iiop connector from Borland to do what I need. > > Thanks for any help you can give > > Bill |