OR
I could just make an NEW Host ex:

<Host name="www.mycompany.com" ...>
 ...
 <Alias>mycompany.com</Alias>
 ...
</Host>

and build and explicit "*|appBase|*" to <tomcat>/webapps.
What you think???
That would work the same??
Laconia Data Systems wrote:

This from David Brown concerning ROOT.WAR
the ROOT application context is
actually a "docBase" defined in server.xml. and, this is the /examples
webapp that lets u see the tc documentation and other usefull stuff online
w/o directory references. in the long run u r much better off creating u own
webapp .war and exanding it in ur own webapps directory. see the /examples
build: ant and build.xml. i u r not already familiar w/ the java and tc way
of building projects
Accept that root.war belongs to and is part of Tomcat
HTH
Martin-
----- Original Message ----- From: "Dwayne Ghant" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 10, 2004 11:22 AM
Subject: Re: Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x





Funny where is the ROOT context???? the only context available
is the one that I defined.

I know that if I re-enable the  "Coyote HTTP/1.1" Connector  and
disable the " Coyote/JK2 AJP 1.3 Connector" then the ROOT context
implicitly works otherwise it doesn't whe I try to bring it up in my URL
(http://mydomain.com).

Trying  to make all the default tomcat applications work with
Apache/Tomcat configuration,
is harder then configuring tomcat and apapche together with mod_jk2!!!

This so Funny I can't believe this is happening to me.


Laconia Data Systems wrote:



Dwayne-

ROOT war files
.war files with the name ROOT.war are given special treatment during
deployment, when Tomcat detects and deploys the ROOT.war file instead of
creating a web application mapped to (/warname).war it maps it to the


root


url (http://yourdomain.com/). However, because the root context is
preconfigured within the server.xml above deploying a ROOT.war file will
have no affect because a root context already exists. To deploy ROOT.war
files, stop Tomcat, remove the root <context> and restart Tomcat.

Martin Gainty


----- Original Message ----- From: "Dwayne Ghant" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, December 09, 2004 3:56 PM
Subject: Re: Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x







Does anyone want to take shot at that question.
I know it's simple but for some reason I seem to
be having some kind of problem!!!
PLEASE HELP.

Dwayne Ghant wrote:





I have successfully install both tomcat and apache.
And they work find together.

What I would  like to do now is re-enable the ROOT context so I can
view the ROOT applications. I have tried the code below (thinking that
is all I would have to do), but it didn't work.


<Context path="" docBase="ROOT" debug="0" reloadable="true" crossContext="true"/>

Could anyone take a shot at this .
All I would like to do is be able to see the ROOT default applications




in




my URL (ex:http://localhost/).

Thank you .






--

Dwayne A. Ghant
Application Developer
Temple University
215.204.5555
[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]





--

Dwayne A. Ghant
Application Developer
Temple University
215.204.5555
[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]





--

Dwayne A. Ghant
Application Developer
Temple University
215.204.5555
[EMAIL PROTECTED]




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



Reply via email to