Solved

Tomcat and Apache on Fedora problems

Posted on 2004-10-20
3
399 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
deny acl with basic authentication user on squid 7 83
ovirt web management page 1 87
SIP Trunk provider 20 138
unable to put logic for reading multiple repo in a single file 4 72
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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