LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-27-2005, 06:20 PM   #1
dashp
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Rep: Reputation: 0
tomcat,apache,mod_jk + localhost


Have anyone gotten apache to forward via port 80 to tomcat using a url other than localhost? The following url works only on the host I'm running apache and tomcat.

I've reached my wits ends, hopefully someone around here can assist me. I've succesfully installed Apache 2, Tomcat 5, and the mod_jk connector on my SUSE 9.1 box.

I know apache and tomcat are working because I can pull up examples at http://localhost and http://localhost:8080.

I know the connector is working because I can pull up the examples at http://localhost/examples and http://localhost:8080/examples -- thus proving the requests are being handled by the connector.

Now comes the tricky part. If I try to remotely access this box via IP or DNS apache and tomcat still work fine at http://123.456.78.90 and http://123.456.78.90:8080 respectively...

HOWEVER, http://123.456.78.90/examples DOES NOT WORK when accessed anywhere except localhost. An added note: http://123.456.78.90:8080/examples works no problem. In the end the basic problem is HOW DO I GET THE CONNECTOR TO WORK ANYWHERE, NOT JUST ON LOCALHOST?


http://localhost/examples/jsp/

The url I really would like to use is something like:

http://www.mydomain.com/examples/jsp/

I too have reached my wits ends! And this is even with your prior knowledge. Can you help? Please!
 
Old 03-27-2005, 08:06 PM   #2
dashp
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Did I come to the right place for this question?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache, tomcat & mod_jk jonathon Linux - General 1 06-29-2006 01:06 AM
Apache Tomcat mod_jk connector dashp Linux - Newbie 1 04-01-2005 01:34 PM
connecting Apache 1.3.x and Tomcat 5.5: mod_jk [GOD]Anck Slackware 0 03-22-2005 09:27 AM
mod_jk-2.0.42.so - apache-tomcat connector anura Linux - Software 0 10-11-2004 03:53 AM
Apache, Tomcat problem with mod_jk WaveyDave Linux - Software 0 09-20-2001 08:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration