Sorry I overlooked some previous conversation.
On 9/18/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Waseem Azhar [mailto:[EMAIL PROTECTED]
Subject: Re: Changing ROOT context
Just open your server.xml add line Context path=
docBase=your-app-name debug=99 reloadable=true
will...
Somehow it keeps looking for the ROOT dir.
How can I change ROOT to myroot, and let http://localhost:8080/test.txt be
the url?
Resources
[1] http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
--
View this message in context:
http://www.nabble.com/Changing-ROOT-context
From: Waseem Azhar [mailto:[EMAIL PROTECTED]
Subject: Re: Changing ROOT context
Just open your server.xml add line Context path=
docBase=your-app-name debug=99 reloadable=true/
Please read the doc before responding. Putting Context elements in
server.xml has been strongly discouraged
in context:
http://www.nabble.com/Changing-ROOT-context-tf4461140.html#a12721557
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
Have you thought about renaming $CATALINA_HOME/webapps/myroot to
$CATALINA_HOME/webapps/ROOT ? The servlet spec is very clear that the
ROOT webapp is a special webapp accepting all requests that do not match
any other web application context.
--David
FastGorilla wrote:
Hi,
I have a
have you tried to create a file called ROOT.xml in
conf/Catalina/localhost containing your Context tag?
(of course, remove webapps/ROOT first)
Filip
FastGorilla wrote:
Hi,
I have a problem with changing the default ROOT context to something else
(myroot).
Specs
-Windows Vista
From: FastGorilla [mailto:[EMAIL PROTECTED]
Subject: Changing ROOT context
How can I change ROOT to myroot, and let
http://localhost:8080/test.txt be the url?
You can't - the default context must be named ROOT. Just rename your
webapp, as others have suggested.
- Chuck
-ROOT-context-tf4461140.html#a12724720
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Strange that is it possible when I define to context in server.xml, but not
possible when I define it in conf/catalina/localhost/ROOT.xml
Caldarale, Charles R wrote:
From: FastGorilla [mailto:[EMAIL PROTECTED]
Subject: Changing ROOT context
How can I change ROOT to myroot, and let
@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Changing-ROOT-context-tf4461140.html#a12724882
Sent from the Tomcat - User mailing list archive at Nabble.com
From: StrongGorilla [mailto:[EMAIL PROTECTED]
Subject: RE: Changing ROOT context
Strange that is it possible when I define to context
in server.xml, but not possible when I define it in
conf/catalina/localhost/ROOT.xml
I suspect that the webapp was deployed twice, once as the default
From: StrongGorilla [mailto:[EMAIL PROTECTED]
Subject: Re: Changing ROOT context
I downloaded the Servlet Spec 2.5 pdf, but it says nothing
about ROOT.
Correct; the name ROOT is Tomcat's way of denoting the default context,
replacing the older path= mechanism.
- Chuck
12 matches
Mail list logo