Hi,

check this docu: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html

Patrick

Laxmikanth M.S. wrote:

This is what I am trying to do....

<Host name="www.testhost.com" debug="15" appBase="testhost">

<Context path="/"
docBase="/usr/local/jakarta-tomcat-4.1.12/testhost/ROOT"
debug="5" privileged="true">
<Logger
className="org.apache.catalina.logger.FileLogger" prefix="Manager_log."
suffix=".txt" timestamp="true">
</Logger>
</Context>
</Host>

Regards
Laxmikanth M S Off* : 91-80-6610330 extn 1256
Res* : 91-80-5267150
http://www.sonata-software.com


Coming together is the beginning, staying together is progress and working
together is Success

What lies behind us and what lies before us are tiny matters compared to
what lies within us - Emerson



-----Original Message-----
From: Andoni [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 7:04 PM
To: Tomcat Users List
Subject: Re: URGENT : Multiple host in Tomcat

What do you want to achieve?

How many servlets to you have?

How many Hosts in Server.xml?

Andoni.


----- Original Message -----
From: "Laxmikanth M.S." <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 1:22 PM
Subject: RE: URGENT : Multiple host in Tomcat



I have mapped my host to http://ftisites.sonata-software.com and have

one

context "/".
i am getting the error which can be found in the attached file
thanks in advacne

<<Apache Tomcat-4_1_12 - Error report.mht>>

Regards
Laxmikanth M S
Off* : 91-80-6610330 extn 1256
Res* : 91-80-5267150
http://www.sonata-software.com


Coming together is the beginning, staying together is progress and

working

together is Success

What lies behind us and what lies before us are tiny matters compared to
what lies within us - Emerson



-----Original Message-----
From: Andoni [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 6:46 PM
To: Tomcat Users List
Subject: Re: URGENT : Multiple host in Tomcat

You want to use the same DNS name and just change the port number to
bring
up different web-sites?

http://www.mysite.com:1234 ==> context 1

http://www.mysite.com:4321 ==> context 2

etc.??

I think you cannot do that using only tomcat. You can do nearly

anything

with Apache though so you may have to go that way and just rewrite the

URL

into the tomcat one calling the context path.

Andoni.


----- Original Message -----
From: "Laxmikanth M.S." <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 1:05 PM
Subject: RE: URGENT : Multiple host in Tomcat



ya all that u have mentioned is there
so it means we should have DNS entry for all the virtualhost or can

it

be

done with different port numbers as done in Apache

Regards
Laxmikanth M S
Off* : 91-80-6610330 extn 1256
Res* : 91-80-5267150
http://www.sonata-software.com


Coming together is the beginning, staying together is progress and

working

together is Success

What lies behind us and what lies before us are tiny matters

compared
to

what lies within us - Emerson



-----Original Message-----
From: Andoni [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 6:34 PM
To: Tomcat Users List
Subject: Re: URGENT : Multiple host in Tomcat

Have you created a DNS entry pointing at your IP address for each

name?

Does your Server.xml file have a <Host></Host> container for each

virtual

host you want to create?

Look into these things and write again if need be.

Andoni.


----- Original Message -----
From: "Laxmikanth M.S." <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 12:35 PM
Subject: URGENT : Multiple host in Tomcat



Hi all,
I am creating multiple host (virtual Host) in tomcat 4.1.12

Server
.

Every

host contains context as"/".
for eg. host 1 is "testhost1"
and host2 is "testhost2"
how to access the site.....
please let me know soon
thanks in advance
laxmiaknth




*********************************************************************

Disclaimer: The information in this e-mail and any attachments

is

confidential / privileged. It is intended solely for the

addressee

or

addressees. If you are not the addressee indicated in this

message,

you

may

not copy or deliver this message to anyone. In such case, you

should

destroy

this message and kindly notify the sender by reply email. Please

advise

immediately if you or your employer does not consent to Internet

email

for

messages of this kind.


*********************************************************************

--
To unsubscribe, e-mail:

<mailto:[EMAIL PROTECTED]>

For additional commands, e-mail:

<mailto:[EMAIL PROTECTED]>


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

*********************************************************************

Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee

or

addressees. If you are not the addressee indicated in this message,

you

may

not copy or deliver this message to anyone. In such case, you should

destroy

this message and kindly notify the sender by reply email. Please

advise

immediately if you or your employer does not consent to Internet

email

for

messages of this kind.


*********************************************************************

--
To unsubscribe, e-mail:

<mailto:[EMAIL PROTECTED]>

For additional commands, e-mail:

<mailto:[EMAIL PROTECTED]>


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

*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you

may

not copy or deliver this message to anyone. In such case, you should

destroy

this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email

for

messages of this kind.
*********************************************************************


--------------------------------------------------------------------------
--
----



--
To unsubscribe, e-mail:

<mailto:[EMAIL PROTECTED]>

For additional commands, e-mail:

<mailto:[EMAIL PROTECTED]>


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

*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************

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



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

Reply via email to