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 > docBase="y
> From: Waseem Azhar [mailto:[EMAIL PROTECTED]
> Subject: Re: Changing ROOT context
>
> Just open your server.xml add line docBase="your-app-name" debug="99" reloadable="true"/>
Please read the doc before responding. Putting elements in
server.
nd 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-tf4461140.html#a12721557
> Sent from the Tom
> 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=
> 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
owser, http://localhost:8080/test.txt won't work, but
>> http://localhost:8080/myroot/test.txt 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
>> [
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
080/test.txt
>> be
>> the url?
>>
>>
>>
>> #### Resources
>> [1] http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
>>
>
>
> -
> To start a new topic, e-mail: us
> 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 suggest
have you tried to create a file called ROOT.xml in
conf/Catalina/localhost containing your 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
-Tomcat 6.0.
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 problem
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-tf4461140.html#a127
12 matches
Mail list logo