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

Hi I was trying to configure Tomcat and Apache With JK 1.2 as shown in the following website
http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html?page=1

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

C:\svn_new\Tomcat\webapps\chapters

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

<Context path="/chapters"
 docBase="C:/svn_new/Tomcat/webapps/chapters"
 debug="0"
 reloadable="true"
 crossContext="true"/>

Any help will be greatly appreciated


royalcyberAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

WelkinMazeCommented:
Hi,
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">

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.