> Do you include the mod_jk.conf in your httpd.conf file?
Yes.
Include /var/tomcat4/conf/mod_jk.conf

> If so,
> at what point in the file do u include it?
It is the last line in the httpd.conf file.

>I've tried taking the VirtualHost
> tag off but then I get syntax errors when reading httpd.conf. It
> doesnt like the JkMount directives.
I have all my JkMount tags in my mod_jk.conf...

1)  mod_jk.conf is the file I removed the VirtualHost tags from...
2) I also set ServerName= machine_name in the mod_jk.conf.

Other than these two changes all the files are identical to the copies I
attached previously.

I hope this helps.
Shannon


>
> -Chris
>
> ----- Original Message -----
> From: "Shannon Scott" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, July 26, 2002 12:27 PM
> Subject: SUMMARY: /*.jsp only invoked when run from localhost
>
>
> > Thank you for your help...
> >
> > I removed the VirtualHost tags from the mod_jk.conf, and everything is
> > working the way I expected.
> >
> > Thank You EveryOne
> > Shannon
> >
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, July 26, 2002 12:13 PM
> > Subject: Re: /*.jsp only invoked when run from localhost
> >
> >
> > >
> > > The virtual host entry in the mod_jk says "ServerName localhost". You
> > > should change that to the domain-name (like www.shannonscott.com).
> > >
> > > RS
> > >
> > >
> > >
> > >
> > > "Shannon Scott" <[EMAIL PROTECTED]> on 07/26/2002 11:10:26 AM
> > >
> > > Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>
> > >
> > > To:    "Tomcat Users List" <[EMAIL PROTECTED]>
> > > cc:
> > >
> > > Subject:    Re: /*.jsp only invoked when run from localhost
> > >
> > > John,
> > > >I am not using any VirtualHost containers... although I noticed some
> > > removed
> > > >comments in that part of httpd.conf that reference ssl.
> > >
> > > Actually these removed comments are below the </VirtualHost> tag.
> > >
> > > Sorry about the confusion.
> > > Shannon
> > >
> > > ----- Original Message -----
> > > From: "Turner, John" <[EMAIL PROTECTED]>
> > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > > Sent: Friday, July 26, 2002 11:16 AM
> > > Subject: RE: /*.jsp only invoked when run from localhost
> > >
> > >
> > > >
> > > > Does "machine_name" match entries for that resource in httpd.conf?
If
> > > you
> > > > have VirtualHost containers in httpd.conf, do those containers have
> > > JkMount
> > > > directives?
> > > >
> > > > -----Original Message-----
> > > > From: Shannon Scott [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, July 26, 2002 11:15 AM
> > > > To: Tomcat Users List
> > > > Subject: Re: /*.jsp only invoked when run from localhost
> > > >
> > > >
> > > > John,
> > > > Thank you for your help.
> > > >
> > > > I copied the contents between <HOST> and </HOST>, then I changed all
> > > > references to "localhost" within the newly copied text to
> > "machine_name".
> > > > My issue still persists.
> > > >
> > > > Thanks Again.
> > > > Shannon
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Turner, John" <[EMAIL PROTECTED]>
> > > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > > > Sent: Friday, July 26, 2002 10:55 AM
> > > > Subject: RE: /*.jsp only invoked when run from localhost
> > > >
> > > >
> > > > >
> > > > > In server.xml, you should have a Host container with a name of
> > > > "localhost".
> > > > > Do you have a Host container for the hostname you are using other
> than
> > > > > "localhost"?
> > > > >
> > > > > John Turner
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Shannon Scott [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Friday, July 26, 2002 10:54 AM
> > > > > To: Tomcat Users List
> > > > > Subject: /*.jsp only invoked when run from localhost
> > > > >
> > > > >
> > > > > Hello,
> > > > > We are building an application using Tomcat 4.0.2 and Apache
1.3.20
> (
> > > > mod_jk
> > > > > APJ13 ) on RedHat Linux 7.2.
> > > > > When the jsp pages are accessed from the localhost ( Webserver
with
> > > apache
> > > > > and Tomcat ) everything works fine, but when we try to use another
> > > machine
> > > > > on the local network, it does not invoke Tomcat, and the jsp is
> > printed
> > > to
> > > > > the browser.
> > > > >
> > > > > All html is served up well.
> > > > >
> > > > > I have set the ServerName = local.IP.address
> > > > > in the httpd.conf.
> > > > >
> > > > > Any Help or Advice is Greatly Appreciated.
> > > > > Thank You
> > > > > Shannon
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > >
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:   <
> > > mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <
> > > mailto:[EMAIL PROTECTED]>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to