THKS a lot! It works now! There�s some problems with my mod-jk.conf ... 

-----Mensagem original-----
De: Milt Epstein [mailto:[EMAIL PROTECTED]]
Enviada em: Friday, April 27, 2001 1:55 PM
Para: [EMAIL PROTECTED]
Assunto: Re: RES: WHY http://servername:8080/myapp/index.htm?


On Fri, 27 Apr 2001, Pedro Henrique Ponchio wrote:

> Well, here is my httpd.conf file:
>
>  LoadModule jk_module                libexec/mod_jk.so
>  AddModule mod_jk.c
>
>  JkWorkersFile /usr/local/jakarta/dist/tomcat/conf/workers.properties
>  JkLogFile     /usr/local/jakarta/dist/tomcat/logs/mod_jk.log
>  JkLogLevel    notice
>
>  JkMount /*.jsp ajp13
>  JkMount /servlet/* ajp13
>  JkMount /otherworker/*.jsp remoteworker
>
> include /packages/tomcat/conf/mod_jk.conf-auto

What's in the mod_jk.conf-auto file?

It looks like you haven't given the proper directives in there to tell
Apache to pass the URL in question to Tomcat.  Look at the sample
Tomcat/Apache conf file for how it's done there.  Roughly, for each
context, there's an Alias directive, a Directory tag, a Location tag,
and one or more JkMount directives.  Basically, it's the JkMount's
that control Apache knowing to pass the URL to Tomcat.


> -----Mensagem original-----
> De: Steve Ruby [mailto:[EMAIL PROTECTED]]
> Enviada em: Friday, April 27, 2001 12:16 PM
> Para: [EMAIL PROTECTED]
> Assunto: Re: WHY http://servername:8080/myapp/index.htm?
>
> Pedro Henrique Ponchio wrote:
> >
> > Hello,
> >
> > I need to know how to set up my Tomcat or Apache to understand
> > that "myapp" is a jsp application without the need to put the port
> > number in the adress bar, because when I try to access it without
> > the "8080", it fails ... (looks like the apache is trying to find
> > the directory "myapp" inside the document root, instead of look at
> > the $TOMCAT_HOME/webapps/myapps ...)  The server is a RH7,
> > Apache1.3.19, Tomcat3.2.1, mod_jk.
>
> What does your JkMount look like?
>

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

Reply via email to