Hi Wagner,

        I've done all this. 
        The only issue is that the Apache doesn't recognize the .do
extension.
        The Struts is working fine directly on the Tomcat (throught the
8080 port). And the JSP and Servlets are working fine with the Apache
(throught the 80 port), except for the Struts servlets (with the
extension .do).
        I think I have to include a line similar to this "AddHandler
jserv-servlet .do" on the http.conf or on the mod_jk.conf. 
The problem is that this line is for the Jserv and I'm using the mod_jk.
And in the documentations of the Apache, Tomcat and Struts doesn't
mention the correct Handdler for the mod_jk.
        To sum all up, How can I make the Apache recognize the .do
extension?

Thanks 
Luiz    
        
        
Ps. Obrigado Wagner, Respondi em ingles para q o resto da lista
compreendesse

-----Mensagem original-----
De: Wagner Correa Ramos [mailto:[EMAIL PROTECTED]]
Enviada em: segunda-feira, 3 de setembro de 2001 11:35
Para: [EMAIL PROTECTED]
Assunto: Re: Instalation of Struts on TomCat with Apache


Luiz,

I had this problem too and the solution is...

In the http.conf we need the line (or similar depending of your o.s.)
include C:\jakarta-tomcat-3.2.1\conf\mod_jk.conf-auto

Insert them (after) the line:

JkMount /*.do ajp12

And modify too the line (in http.conf) where we have
DirectoryIndex index.html

To be as:

DirectoryIndex index.html index.jsp

I hope this help you.

Wagner Correa Ramos


(Depois de responder vi que voce fala portugues !!! - Boa Sorte com o
Struts - eh uma excelente ferramenta)


----- Original Message -----
From: "Luiz Carlos Barbosa Jr." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 03, 2001 10:04 AM
Subject: Instalation of Struts on TomCat with Apache


Hi,

   I�m tring to install the Struts 1.0 on the Tomcat 3.2.1 with Apache
(on the Win2k). Acording to the instaling instructions on the Tomcat web
page I could include one of the following configuration files on the
Apache's "httpd.conf":
* tomcat-apache.conf
* mod_jk.conf-auto
   It recommened to use the "mod_jk.conf-auto". So I've used it. But on
the Struts' site it says that I have to include the following line on
the "tomcat-apache.conf": AddHandler jserv-servlet .do
   As I'm using "mod_jk.conf-auto" instead of "tomcat-apache.conf", I
tried to include this line on the httpd.conf, but didn't work out. So my
web server isn't recognizing the *.do extension. I haven't tried to
include this line on the "mod_jk.conf-auto", because this file is built
every inicialization of the the Tomcat.

Thanks.
Luiz


Reply via email to