tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Decker <>
Subject Re: Tomcat Domain for redirects
Date Sat, 07 Feb 2009 16:03:29 GMT

This seems to have done the trick, the redirects now finally work properly ^^
It would be nice for it to autodiscover the domain a request came from, but
that's fine by me because it's just a test machine, and I'll have my
sysadmin bothering with the deployment later ^^

Konstantin Kolinko wrote:
> 2009/2/6 Christian Decker <>:
>> Hi all,
>> I'm not that good at configuring Tomcat so I thought I'd ask here. My
>> problem is that I have a server that is running Tomcat 5.5 and an
>> Apache server that runs on port 80 and uses mod_jk to redirect all
>> incoming requests to the tomcat server.
>> So far, so good. The problem is that I want to access the server from
>> outside my local network, so instead of accessing http://server1/app/
>> I now have which automatically
>> redirects to an index page, but on the wrong address (http://server1/
>> app/welcome instead of which
>> is kind of annoying.
>> As this happens in many different places I assume that the tomcat
>> server somehow believes that he is server1 instead of
>> Any directions on where to look?
>> Regards,
>> Chris
> Read Apache HTTPD docs on how it determines its server name. I guess
> it should have been the ServerName directive,
> If I remember correctly, mod_jk passes that information to Tomcat, but if
> that
> does not work, it can be overwritten in <Connector> element by setting
> proxyName and proxyPort attributes,
> Best regards,
> Konstantin Kolinko
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Christian Decker
View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message