tomcat6-配置虚拟目录

<Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">

<!-- 添加虚拟目录开始 -->
            <Context path="/ext" debug="0" docBase="G:\work\ext\ext-3.2.0" reloadable="true">
</Context>
<!-- 添加虚拟目录结束 -->


        <!-- SingleSignOn valve, share authentication between web applications
             Documentation at: /docs/config/valve.html -->
        <!--
        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
        -->

        <!-- Access log processes all example.
             Documentation at: /docs/config/valve.html -->
        <!--
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" 
               prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
        -->

      </Host>

你可能感兴趣的:(html,Web,Access)