tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andoni" <and...@indigo.ie>
Subject Re: change alias
Date Thu, 20 Feb 2003 11:55:09 GMT
Hello,

It's not quite so simple.  The /examples/servlet is not a simple alias for
the directory mentioned.  What you have to do is study the configuration of
contexts in server.xml.  This is short and well described.  With a bit if
practice you can have any webapp (e.g. examples) running from a directory
anywhere on your machine.

Start here:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/index.html
at least this is the link relevant to 4.0.x versions of Tomcat.

If you are doing this so that classes won't be mixed up don't worry.  You
will be creating another directory alongside "examples" for each application
you create.

HTH.

Andoni.

----- Original Message -----
From: "Ami Choksi" <amichoksi@yahoo.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, February 20, 2003 12:59 PM
Subject: change alias


> Hi all,
>       Do u have any idea how to change the alias for /examples/servlet ?
> i.e. by default it's c:\tomcat\webapps\examples\WEB-INF\classes which i
> want to change as any other directory as e:\classes. so that standard
> classes won't mix up with the classes we create. please reply if you know.
>
> --
> Miss Ami Tusharkant Choksi
> Lecturer,
> Computer Engg. Dept.,
> C.K.Pithawala College of Engg. & Tech.,
> Surat.
>
> Home:
> C/O Navin Cricket Stores,
> 6/1937, Jadakhadi,
> Mahidharpura,
> Surat - 395 003.
>
> Phone:  (O) 0261-2685381
> (R) 0261-7435526, 7422483.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message