hmmm. bit more info might help:

what do you have now in server.xml?

what URL are you using to access the app?

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 19 September 2001 11:54
> To: [EMAIL PROTECTED]
> Subject: RE: Question on conf
> 
> 
> 
> it still doesn't work
> now it points to index.html in ROOT
> I've moved my gundam dir at the same level of root in webapps
> Bye,
>   Ste
> 
> 
> 
>                                                               
>                                                      
>                     Paul Foxton                               
>                                                      
>                     <paul@network-       To:     
> "'[EMAIL PROTECTED]'"                                
>                     sol.com>              
> <[EMAIL PROTECTED]>                              
>            
>                                          cc:                  
>                                                      
>                     09/19/2001           Subject:     RE: 
> Question on conf                                         
>                     11:55 AM                                  
>                                                      
>                     Please respond                            
>                                                      
>                     to tomcat-user                            
>                                                      
>                                                               
>                                                      
>                                                               
>                                                      
> 
> 
> 
> 
> try this:
> 
> <context path="/gundam"
>          docbase="/webapps/gundam"
>          crossContext="false"
>          debug="0"
>          reloadable="true" >
> </context>
> 
> this assumes your gundam web app directory is under webapps, 
> not ROOT - the
> usual way to do it.
> 
> you would then access this app through the URL
> http://your_domain:8080/gundam/
> 
> If you want to access it with http://your_domain:8080/
> 
> set it up like this:
> 
> <context path="/"
>          docbase="/webapps/gundam"
>          crossContext="false"
>          debug="0"
>          reloadable="true" >
> </context>
> 
> The only change from the first one is the 'path' entry.
> 
> Is there any particular reason you need your app below ROOT? 
> Usually you
> would create a new directory below webapps for an app.
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: 19 September 2001 10:59
> > To: [EMAIL PROTECTED]
> > Subject: Question on conf
> >
> >
> > Hi,
> >   I'm a new tomcat user. I need to move the location of the webroot.
> > Now it points to ROOT, I want change this in ROOT/gundam
> > I've tried changing file server.xml
> >
> > <Context path="" docBase="ROOT/gundam" debug="0"/>
> >
> > but it doesn't work, why ?
> > Bye,
> >   Ste
> >
> >
> 
> 
> 
> 

Reply via email to