And do you want the current contents of the ROOT directory to remain
available?

If there's no reason you can't, then just put your stuff in ROOT.  If there
is, but you want to keep the current contents of ROOT, then just redefine
your contexts in server.xml so that / points to swapneel and something else
points to ROOT.

----- Original Message -----
From: "Jake Robb" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 11:26 AM
Subject: Re: index.html and ipaddress ?


> Is there a reason you can't put your index.html file in the ROOT
directory?
>
> ----- Original Message -----
> From: "Swapneel Dange" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 13, 2003 11:24 AM
> Subject: index.html and ipaddress ?
>
>
> > hi there !
> >
> > i am running a TOMCAT successfully, but if i want to see the page saying
> > index.html , which is not in the 'ROOT' diretory under 'webapps' but its
> > under another directory named 'swapneel', which is also under 'webapps'.
> But
> > whenever i say http://localhost:8080/index.html then it will always show
> the
> > default page for the TOMCAT. i want my index.html in 'swapneel' to be
> shown
> > on the browser.
> >
> > the other thing is that i want to replace the IPADDRESS of the machine
on
> > which TOMCAT is running with some name, lets say 'IAMTOMCAT' and can we
> get
> > rid of the port number in the address for running the TOMCAT, so in the
> end
> > can the address look like this -----
> >
> > http://IAMTOMCAT/index.html
> >
> > What are the files that need to be changed accordingly for this thing to
> > work ? thanx to all !
> >
> > Swapneel Dange
> > 505-642-4126
> > http://www.cs.nmsu.edu/~sdange
> >
> >
> > _________________________________________________________________
> > Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> > http://join.msn.com/?page=features/junkmail
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>


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

Reply via email to