Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deploying new webapps in Apache + Tomcat 1

Status
Not open for further replies.

Magnus53

Programmer
Jul 25, 2002
73
CA
Hi everyone,

I posted this in the Tomcat forum as I was unsure which forum is right for this problem

I'm runnning Apache 2.0.42 and Tomcat 4.1.12 on Win2k. I've configured Apache to work with Tomcat. Everything works fine when I try to access the 'examples' directory. I can run all the servlets and JSP examples. My problem is deploying a new application. It doesn't work and the message in the errors logs is "Can't find C:\ApacheGroup\Apache2\htdocs\myWebApp" which is the wrong path of course. How do I configure it so it's mapped properly, like the Examples directory?

Anyone have advice or resources to look at?

Thanks in advance.
 
It's been a while since I setup my servlet server, but if I remember it correctly, you have to add two or three lines to your httpd.conf. Just look on the lines that make the examples directory work, and do the same for the directory containing your servlets. //Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top