tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Decker <decker.christ...@gmail.com>
Subject Tomcat Domain for redirects
Date Fri, 06 Feb 2009 15:39:34 GMT

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 http://server1.example.com/app/ which automatically
redirects to an index page, but on the wrong address (http://server1/
app/welcome instead of http://server1.example.com/app/welcome) 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
server1.example.com.

Any directions on where to look?

Regards,
Chris
-- 
http://blog.snyke.net 

-----
Christian Decker
http://blog.snyke.net
-- 
View this message in context: http://www.nabble.com/Tomcat-Domain-for-redirects-tp21874907p21874907.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message