Problem with port number on redirects

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....


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-04-2004
Bill Eme
 
Posts: n/a
Default Problem with port number on redirects

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
  #2 (permalink)  
Old 06-05-2004
Markus Nussdorfer
 
Posts: n/a
Default Re: Problem with port number on redirects

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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:15 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0