Solved

Tomcat and Apache on Fedora problems

Posted on 2004-10-20
3
400 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

688 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