tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Reutter <tom...@meinsenf.at>
Subject apache+tomcat behind firewall
Date Mon, 15 Apr 2002 12:32:24 GMT
Hi!

My tomcat is connected to apache with mod_jserv - and both are behind a 
firewall:
server1.com ... firewall (connected to internet and private network)
server2.intra ... apache and tomcat (private network)

DNAT:
server1.com:80 -> server2.intra:80 (apache)
server1.com:8080 -> server2.intra:8080 (tomcat)

and apache's /examples is mapped to tomcat's /root

everything works fine BUT:

request:
http://server1.com:80/examples/servlet/
this should return a redirect to:
http://server1.com:80/examples/servlet/index.html

but the redirect goes to:
http://server2.intra:80/examples/servlet/index.html
which isn't possible from outside!

if I do the request directly from tomcat:
http://server1.com:8080/examples/servlet/
the redirect works correctly!

so what can I do, to force apache/tomcat, to do redirects to server1.com with 
mod_jserv, too ???

thanks
michi

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message