<?xml version='1.0' encoding='utf-8'?>


<Server port="8005" shutdown="SHUTDOWN">

  --생략--


  <Service name="Catalina">


    <Connector port="80" protocol="HTTP/1.1"

               connectionTimeout="20000"

               redirectPort="8443" URIEncoding="UTF-8" maxPostSize="52428800"/>


    <!-- Define an AJP 1.3 Connector on port 8009 -->

    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />


    <Engine name="Catalina" defaultHost="localhost">


      -- 생략 --

      

 <Host name="ex1.도메인.com" appBase="" autoDeploy="true" deployOnStartup="true" deployXML="true" unpackWARs="true">

        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"

               prefix="localhost_access_log." suffix=".txt"

               pattern="%h %l %u %t &quot;%r&quot; %s %b" />


<Context docBase="/home/소스경로/ex1" path="" reloadable="true" allowLinking="true"/>

      </Host>

      


 <Host name="ex2.도메인.com" appBase="" autoDeploy="true" deployOnStartup="true" deployXML="true" unpackWARs="true">

        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"

               prefix="localhost_access_log." suffix=".txt"

               pattern="%h %l %u %t &quot;%r&quot; %s %b" />


<Context docBase="/home/소스경로/ex2" path="" reloadable="true" allowLinking="true"/>

      </Host>

 


 <Host name="ex3.도메인.com" appBase="" autoDeploy="true" deployOnStartup="true" deployXML="true" unpackWARs="true">

        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"

               prefix="localhost_access_log." suffix=".txt"

               pattern="%h %l %u %t &quot;%r&quot; %s %b" />


<Context docBase="/home/소스경로/ex3" path="" reloadable="true" allowLinking="true"/>

      </Host>


    </Engine>

  </Service>

</Server>



Posted by 우주정복☆
,