multiple websites running under Tomcat 4 or 5

2004-03-15 Thread Nadia Kunkov

Hello need a bit of help.
 
I have a machine running RedHat Linux 7.3.
I am using Tomcat 4.x on the machine to 
run a simple JSP/Servlet website.
 
My question is:
How can I configure this machine or my firewall
to allow me to run two websites off this machine?
 
One would be the JSP/Servlet site and the second is 
a small HTML site.
 
I expect to upgrade the machine to Fedora and Tomcat 5.
 
Many thanks
 
kd
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: multiple websites running under Tomcat 4 or 5

2004-03-15 Thread Dale, Matt

Yes there are many ways you can do this.

Apache supports virtual hosts so you can have as many websites as you want running and 
it decides which website to show depending on the name you use to access it.

Tomcat runs on port 8080 by default so you could just leave that there and run the 
html site on the standard port 80.

You can also use the JK2 connector to forward requests from apache to tomcat for 
particular URL patterns.

Ta
Matt

-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: 15 March 2004 16:10
To: Tomcat help (E-mail)
Subject: multiple websites running under Tomcat 4 or 5



Hello need a bit of help.
 
I have a machine running RedHat Linux 7.3.
I am using Tomcat 4.x on the machine to 
run a simple JSP/Servlet website.
 
My question is:
How can I configure this machine or my firewall
to allow me to run two websites off this machine?
 
One would be the JSP/Servlet site and the second is 
a small HTML site.
 
I expect to upgrade the machine to Fedora and Tomcat 5.
 
Many thanks
 
kd
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: multiple websites running under Tomcat 4 or 5

2004-03-15 Thread Adam Buglass
Would you even need tomcat for a pure HTML site?

We have a number of JSP/servlet sites and one HTML site
which tomcat doesn't even know about.
We do link a form onto a JSP at one point on the HTML site
but all tomcat sees is a small webapp (consisting of the one JSP
and one class)

On Mon, 2004-03-15 at 16:39, Dale, Matt wrote:
 Yes there are many ways you can do this.
 
 Apache supports virtual hosts so you can have as many websites as you want running 
 and it decides which website to show depending on the name you use to access it.
 
 Tomcat runs on port 8080 by default so you could just leave that there and run the 
 html site on the standard port 80.
 
 You can also use the JK2 connector to forward requests from apache to tomcat for 
 particular URL patterns.
 
 Ta
 Matt
 
 -Original Message-
 From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
 Sent: 15 March 2004 16:10
 To: Tomcat help (E-mail)
 Subject: multiple websites running under Tomcat 4 or 5
 
 
 
 Hello need a bit of help.
  
 I have a machine running RedHat Linux 7.3.
 I am using Tomcat 4.x on the machine to 
 run a simple JSP/Servlet website.
  
 My question is:
 How can I configure this machine or my firewall
 to allow me to run two websites off this machine?
  
 One would be the JSP/Servlet site and the second is 
 a small HTML site.
  
 I expect to upgrade the machine to Fedora and Tomcat 5.
  
 Many thanks
  
 kd
  
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 __
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]