Hi Julian,

Julian Dunn schrieb:
>> How do you connect Apache to Tomcat? If you are using mod_jk, the
>> module gets the port it sends to Tomcat via ap_get_server_port(),
>> which in turn depends on UseCanonicalName. If this is set to On,
>> the port is also determined from the port in ServerName.
> 
> I'm using mod_jk 1.2.6 and Apache 2.0.59. UseCanonicalName is already
> on in the Apache server, and the ServerName is set to www.site.com:80
> in the VirtualHost. I also tried to set ServerName globally and that
> didn't make a difference.
> 
> This allows mod_rewrite to send the correct port # in rewrites, but
> Tomcat doesn't seem to pick this up for some reason.
> 
> By the way, don't laugh, but this is a legacy Tomcat 3.3.1a
> application so I need something for that version of Tomcat.

I'm not laughing (at least I try to). Since I'm relatively sure about
the jk feature: what about updating to a recent jk version. 1.2.6 is
..., we are at 1.2.26.

I never worked with TC 3.3, but the docs tell us, that it allows an
AJP13 connector, so that one should be compatible with recent JK
versions. In case you are still using AJP12, that's not a safe bet to
use AJP12 with recent JK.

The docs look like the connector attributes we posted as an alternative
solution unfortunately don't exist for 3.3.

> - Julian

Regards,

Rainer

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to