You need Host and Context elements for each domain. Something like this:
<Host name="www.site.com" debug="0" appBase="webapps" unpackWARs="true">
        <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="logs"  prefix="localhost_www_site_com_log."
suffix=".txt"
              timestamp="true"/>
            <Context path="" docBase="site" debug="0"
                    reloadable="false" crossContext="false"/>
</Host>

<Host name="www.site2.com" debug="0" appBase="webapps" unpackWARs="true">
            <Context path="" docBase="site2" debug="0"
                 reloadable="false" crossContext="false">
              <Logger className="org.apache.catalina.logger.FileLogger"
                       directory="logs"  prefix
="localhost_www_site2_com_log." suffix=".txt"
                    timestamp="true"/>
            </Host>


RS






"eric aboudaram" <[EMAIL PROTECTED]> on 07/02/2002 12:00:34 PM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:    "tomcat user List" <[EMAIL PROTECTED]>
cc:

Subject:    Virtual site

I try, but i don't found doc for virtual domain under tomcat 4.0.3 on
windows 2k

if someone can help me, it ll be great

i search news for

www.site.com go to directory webapps\site
and
www.site2.com go to directory webapps\site2

i don't want to do http://localhost/site for webapps\site

i know , i ve already this 2 domain name www.site.com  & www.site2.com

so how do that

thanks


---
Ce message Envoi est certifi� sans virus connu.
Prot�g� par l'antivirus AVG Deluxe.
Version: 6.0.373 / Base de donn�es virus: 208 - Date: 01/07/2002









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

Reply via email to