On Thu, 2002-08-29 at 02:14, Craig R. McClanahan wrote:

> Consider Apache running on port 80, forwarding to Tomcat on 8009 (the
> default setup).  I think it's reasonable for the application developer to
> assume that getServerPort() is going to return 80 and not 8009, because
> they should conceptually view the entire "Apache+Tomcat" thing as a single
> server.

To avoid confusion, I have tested what comes back. The combo is Apache
2.0.40, mod_jk 1.2.0, Tomcat 3.3.x. The port 80 comes back over HTTP and
443 over SSL. This is also indicated by the current source in the bug
report.

The real problem is that the bug report asks to go a step further and to
fake the ports when there is a load balancer or firewall in front of
Apache/Tomcat combo. I don't think we should do that - load balancer or
firewall is not part of the container.

Bojan


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to