[EMAIL PROTECTED] a �crit :

> i have name based virtual domains ( many domains one ip address )
> and i have problems with tomcat, i want to be able to keep my servlet
> directoryes in different parents. now everything is at one place
> i have no problems with jsp's i can put one jsp in witch domains directory
> i want but with the servlets i have this problem.
> now i have to write symlinks from domains's directory to the directory
> where tomcat want to be his servlets, and all the servlets are at one
> place - /usr/share/java/servlets
> and when i GET www.xxx.org/servlet/z HTTP1.1 tomcat seeks in
> /usr/share/java/servlets ( i want to make him to seek in
> /usr/share/java/servlets/xxx.org for example )
> i am useing debian as linux distrib, on i386 based system.
> can you help me?
>
> # system administrator, interbgc.com
> # mail to : [EMAIL PROTECTED]
> # www page: http://web.interbgc.com/~noun
> # icq uin : 8912353
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

Well i think yu could, in a first time, try yo get and read the different
HOW-TO's concerning Tomcat.

In a Service, yu will have one or several Connectors against one Engine.

In this Engine [ one per Service ] yu can declare several Host corresponding,
for instance, to the different Virtual Host yu desired to be set.

In this Host Directive, yu can set many things and especially the mandatory
ones:

 - appBase
The Application Base directory for this virtual host. This is the pathname of
a directory that                            may contain web applications to
be deployed on this virtual host. You may specify an absolute
pathname for this directory, or a pathname that is relative to the
$CATALINA_HOME
directory. See Automatic Application Deployment for more information on
automatic
recognition and deployment of web applications to be deployed automatically.

 - name
Network name of this virtual host, as registered in your Domain Name Service
server. One of                            the Hosts nested within an Engine
MUST have a name that matches the
defaultHost                                          setting for that Engine.
See Host Name Aliases for information on how to assign more
than                             one network name to the same virtual host.

Here yu will find the HOW-TO i red:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html

The best advice i can give yu:

Read this HOW-TO's since they can explain and help for a lot. I'm against the
same business and discoverin' more and more tricks each day.

Hope this help.

Regards.

Jean-Luc B :O)



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to