Customise Application Dirctory in Apache-Tomcat 6.0.16

In server.xml in ${catalina.base} has the <Host> customized asà



<Host name="localhost" appBase="D:/Work/IPV/IPV/emptyDir" autoDeploy="false">

<Context path="/" docBase="c:/work/IPV/IPV/site"/>

</Host>


 


For default webapps <Host> tag is as shown belowà

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

        <!-- 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"/>

        -->

<Context path="webapps" docBase="C:/xampp/webapps"

         debug="0">

  <!-- Link to the user database we will get roles from -->
 
</Context>
</Host>




2 comments:

ilike2 said...

This is to advise you that you are using copyrighted and protected material on your blog. Your illegal use of my articles at: http://shivadataspace.blogspot.com/2009/01/this-photoshop-tutorial-will-teach-you.html is originally from my blog at ilike2photoshop.blogspot.com. This is original content and I am the author and copyright holder. Use of copyright protected material without permission is illegal under copyright laws.

Please take one or more of the following actions immediately:

• Re-write the post to include excerpts with a link to the original content.
• Provide compensation for use of my copyright protected material of up to $100,000
• Remove the plagiarized material immediately.

I expect a response within 5 days to this issue. Thank you for your immediate action on this matter.

Shiva said...

Thanks for the advice.. the content is changed accordingly..

Post a Comment