Re: Changing ROOT context

2007-09-20 Thread Waseem Azhar
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

RE: Changing ROOT context

2007-09-18 Thread Caldarale, Charles R
> 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.

Re: Changing ROOT context

2007-09-18 Thread Waseem Azhar
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

RE: Changing ROOT context

2007-09-16 Thread Caldarale, Charles R
> 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=

RE: Changing ROOT context

2007-09-16 Thread Caldarale, Charles R
> 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

Re: Changing ROOT context

2007-09-16 Thread StrongGorilla
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 >> [

RE: Changing ROOT context

2007-09-16 Thread StrongGorilla
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

Re: Changing ROOT context

2007-09-16 Thread StrongGorilla
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

RE: Changing ROOT context

2007-09-16 Thread Caldarale, Charles R
> 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

Re: Changing ROOT context

2007-09-16 Thread Filip Hanik - Dev Lists
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.

Re: Changing ROOT context

2007-09-16 Thread David Smith
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

Changing ROOT context

2007-09-16 Thread FastGorilla
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