RE: mod_jk only usable from localhost

2003-12-18 Thread Chakravarthy, Sundar

1. Make sure machine is visible

ping computername 

2. Make sure apache is serving pages

http://computername

3. Make sure tomcat works in standalone mode

http://computername:8080

4. Then edit httpd.conf , tomcat's server.xml ( see docs )
http://computername/context



-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 17, 2003 6:45 PM
To: Tomcat
Subject: mod_jk only usable from localhost

Tomcat List,
I have installed Apache+Tomcat via mod_jk.  I have it
configured so that I can use Tomcat from Apache but it only works from
the localhost.  If I:
 
http://localhost/tomcat-docs
 
it works but if I do:
 
http://computername/tomcat-docs
http://computerip/tomcat-docs
 
it doesn't work.  Is there something special you have to do to make
mod_jk work from computers other than localhost?  Thanks,
 
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-8557
http://www.starprecision.com 
 

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



Re: mod_jk only usable from localhost

2003-12-18 Thread Jerry Ford
Jeremy:

I just solved the exact same problem on my setup (Apache 1.3.27 - 
Tomcat 4.1.27 via mod_jk).

In my case, it was because I had enclosed the Tomcat config statements 
in httpd.conf in a virtual host block.

I forget why I had done that, but I had asked a lot of questions on this 
forum during the initial setup period and those posts led me to the 
configuration I was using;  once I got it working on localhost, I was 
happy for the time being, until it came time to port the setup from my 
staging machine to the live web.

Anyway, as soon as I removed the virtual host config statement, it worked.

See http://www.katzenjammer.us/~jford/apache/tomcat/ for details.

Jerry

Chakravarthy, Sundar wrote:

1. Make sure machine is visible

	ping computername 

2. Make sure apache is serving pages

	http://computername

3. Make sure tomcat works in standalone mode

	http://computername:8080

4. Then edit httpd.conf , tomcat's server.xml ( see docs )
http://computername/context


-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 17, 2003 6:45 PM
To: Tomcat
Subject: mod_jk only usable from localhost

Tomcat List,
   I have installed Apache+Tomcat via mod_jk.  I have it
configured so that I can use Tomcat from Apache but it only works from
the localhost.  If I:
http://localhost/tomcat-docs

it works but if I do:

http://computername/tomcat-docs
http://computerip/tomcat-docs
it doesn't work.  Is there something special you have to do to make
mod_jk work from computers other than localhost?  Thanks,
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-8557
http://www.starprecision.com 

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



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