apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Scott MacAlvone
I'm very new to tomcat and apache.  I've set up apache
to forward to tomcat using mod_jk.  It works fine on
the localhost, but if I try to connect through to
tomcat from any other host I get 404 file not found,
although I can connect to apache.  As follows:

These work on localhost:
http://localhost --apache
http://localhost/servlets-examples --tomcat

(So do these of course:
 http://localhost:8080/ --tomcat
 http://localhost:8080/servlets-examples --tomcat)

And this is what happens on another host:
http://hostname --apache
http://hostname/servlets-examples --404 file not
found
http://hostname:8080/servlets-examples --tomcat

OS = RHEL 4
Apache 2.0.52-19.ent (Red Hat RPM)
Tomcat 5.5.9-1jpp_5rh (Red Hat RPM)
mod_jk-ap20-1.2.6-3jpp_7rh (Red Hat RPM)
(Red Hat apparently doesn't offer a mod_jk2)

It was setup according to Pro Jakarta Tomcat 5
(Moodie, 2005), although I'm sure it's not the book's
fault.  Basically I modified server.xml to autogen
mod_jk.conf and added listener to Host, modified
workers.properties, and httpd.conf.

I have a feeling this is something simple, and I have
tried to find an answer with no luck.  If anyone has
any suggestions I would be greatly appreciative.


Scott



__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Lyndon Tiu
On Mon, 10 Oct 2005 09:01:04 -0700 (PDT) tomcat-user@jakarta.apache.org wrote:
 I'm very new to tomcat and apache.  I've set up apache
 to forward to tomcat using mod_jk.  It works fine on
 the localhost, but if I try to connect through to
 tomcat from any other host I get 404 file not found,


Please send us your workers.properties and httpd.conf.


--
Lyndon Tiu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Scott MacAlvone
--- Lyndon Tiu [EMAIL PROTECTED] wrote:

 On Mon, 10 Oct 2005 09:01:04 -0700 (PDT)
 tomcat-user@jakarta.apache.org wrote:
  I'm very new to tomcat and apache.  I've set up
 apache
  to forward to tomcat using mod_jk.  It works fine
 on
  the localhost, but if I try to connect through to
  tomcat from any other host I get 404 file not
 found,
 
 
 Please send us your workers.properties and
 httpd.conf.

attached, tia, scott




__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Scott MacAlvone
Thanks for the tip Lyndon.  It took a few tries, but I finally got it right, I 
think!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com