You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James Moore <ja...@e-travelbase.com> on 2002/02/13 13:02:54 UTC

apache/tomcat 3.2.2 virtual hosts & port forwarding

Dear all,

I have a Red Hat Linux 7.1 server on our internal LAN running Apache 1.3.20
with Tomcat 3.2.2.

Its running fine with one virtual host but when I add another virtual host
using a different IP address (after adding some more with ifconfig) and then
adding <Host...> and <Context..> to server.xml it doesnt work.

Any ideas?

Does any have any examples of how to get virtual hosts (name-based,
port-based or IP based) working with Tomcat 3.2.x please? Or can u direct me
to a good resource?

Another thing, our Win2K Server provides Internet access using NAT (Routing
and Remote Access), should I just add Special Ports? I mean just forward
port 80 or are there other ports to i need to forward?

I've read the Tomcat User Guide (pretty lacking in explanations I must say)
and scoured the mailing list archive to no avail.

Many thanks

James


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: apache/tomcat 3.2.2 virtual hosts & port forwarding

Posted by James Moore <ja...@e-travelbase.com>.
BTW I'm using mod_jk.

-----Original Message-----
From: James Moore [mailto:james.moore@e-travelbase.com]
Sent: 13 February 2002 12:03
To: Tomcat Users List
Subject: apache/tomcat 3.2.2 virtual hosts & port forwarding


Dear all,

I have a Red Hat Linux 7.1 server on our internal LAN running Apache 1.3.20
with Tomcat 3.2.2.

Its running fine with one virtual host but when I add another virtual host
using a different IP address (after adding some more with ifconfig) and then
adding <Host...> and <Context..> to server.xml it doesnt work.

Any ideas?

Does any have any examples of how to get virtual hosts (name-based,
port-based or IP based) working with Tomcat 3.2.x please? Or can u direct me
to a good resource?

Another thing, our Win2K Server provides Internet access using NAT (Routing
and Remote Access), should I just add Special Ports? I mean just forward
port 80 or are there other ports to i need to forward?

I've read the Tomcat User Guide (pretty lacking in explanations I must say)
and scoured the mailing list archive to no avail.

Many thanks

James


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: apache/tomcat 3.2.2 virtual hosts & port forwarding

Posted by James Moore <ja...@e-travelbase.com>.
Also the "dont work" refers to pictures not loading or page not found coming
up.
Sometimes I get certain html frames from the first virtual server and other
html frames are correct (like a mixture of html from different
websites/virtual servers)

-----Original Message-----
From: James Moore [mailto:james.moore@e-travelbase.com]
Sent: 13 February 2002 12:03
To: Tomcat Users List
Subject: apache/tomcat 3.2.2 virtual hosts & port forwarding


Dear all,

I have a Red Hat Linux 7.1 server on our internal LAN running Apache 1.3.20
with Tomcat 3.2.2.

Its running fine with one virtual host but when I add another virtual host
using a different IP address (after adding some more with ifconfig) and then
adding <Host...> and <Context..> to server.xml it doesnt work.

Any ideas?

Does any have any examples of how to get virtual hosts (name-based,
port-based or IP based) working with Tomcat 3.2.x please? Or can u direct me
to a good resource?

Another thing, our Win2K Server provides Internet access using NAT (Routing
and Remote Access), should I just add Special Ports? I mean just forward
port 80 or are there other ports to i need to forward?

I've read the Tomcat User Guide (pretty lacking in explanations I must say)
and scoured the mailing list archive to no avail.

Many thanks

James


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>