Solved

Tomcat and Apache on Fedora problems

Posted on 2004-10-20
3
395 Views
Last Modified: 2010-03-18
Hi

I configured Tomcat on Apache with mod_jk2 and the system(running on Fedora Core 2) is working fine. When i give http://localhost:8080 Tomcat home page is coming. Whne i give the IP address also home page is coming. When i give localhost/examples i can see the files also. My problem is whne i try to access the same on adifferent system on the network by using the IP address i couldnt see the home page but whne give ip address/examples i can see the examples page. How can i access the home page also from any machine on the local network. Also i copied some files to the webapps directory and when given  localhost/dir name i couldnt see any thing on my system also. In this matter i have to give the port as 8080 to see the result. Also i cant see the result by any way on other systems on the network.

Please give a solution for my problem.

Thanx in advance
Ramesh
0
Comment
Question by:rameshbharadwaj
3 Comments
 
LVL 6

Accepted Solution

by:
blkline earned 200 total points
ID: 12366798
You have to tell Apache what URIs it should pass to Tomcat and which it should process itself.

This can be  done in the workers2.properties file.  If you look at the contents of your existing file, you'll see:

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
group=lb


To add one of your own, (say your webapp is called mywebapp), then add:

# Map mywebapp
[uri:/mywebapp/*]
group=lb

You didn't specify which version of Tomcat and Apache, so if you can't then please define how you set up your software and we can go from there.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

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

16 Experts available now in Live!

Get 1:1 Help Now