how to Configure Tomcat and Apache With JK 1.2 with application residing in a folder other than Tomcat

Posted on 2006-04-17
Last Modified: 2010-03-04
Hi I was trying to configure Tomcat and Apache With JK 1.2 as shown in the following website

I was managed to configure everything and was able to run the "example" project properly.
Now the problem is that my actual project resides in a  folder other than <Catalina-Home>, how can I
configure Apache so that it is configured for this project

<Catalina-Home> = c://tomcat

My aaplication is located at


and the configuration which I did in servers.xml to run this application on Tomcat is

<Context path="/chapters"

Any help will be greatly appreciated

Question by:royalcyber
    LVL 11

    Accepted Solution

    It seems correct.
    You may have to change in httpd.conf in the apache's conf directory the following lines.
    I put the direcotry you have writeen above but you may change it.

    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "C:/svn_new/Tomcat/webapps/chapters"

    # This should be changed to whatever you set DocumentRoot to.
    <Directory "C:/svn_new/Tomcat/webapps/chapters">

    LVL 23

    Assisted Solution


    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    PHP Curl Multi-exec 13 52
    PHP 7 Warning 12 36
    How to set default webapp for host 6 38
    IPv6 Networking 6 80
    In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting ( to http…
    Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now