Solved

Tomcat and Apache on Fedora problems

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

825 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