Hi Zgur,
> Does anybody know how to configure tomcat for different domains? For
> example, domain1's /servlet path will be different from domain2's
> /servlet path.
If you're interested in Tomcat administration, you might wanna check out the
lists that jakarta maintains for Tomcat administration
([EMAIL PROTECTED]), but to answer your question...
for each domain you'd setup a <Host> in server.xml:
<Host name="domain1.com" debug="5" appBase="/usr/hosts/domain1.com">
<Context path="" docBase="/usr/hosts/domain1.com" />
<Alias>www.domain1.com</Alias>
</Host>
<Host name="domain2.com" debug="5" appBase="/usr/hosts/domain2.com">
<Context path="" docBase="/usr/hosts/domain2.com" />
<Alias>www.domain2.com</Alias>
</Host>
Each servlet is then managed in the WEB-INF/web.xml of each domain.
hth,
AJ
Aaron Johnson
[EMAIL PROTECTED]
http://cephas.net/blog/
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html