You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Domingo Aguilera <do...@sinergia.com.mx> on 2001/07/04 00:04:24 UTC
Help on making struts with Apache + Tomcat
Hi,
I've been using the combination of Apache + tomcat 3.x
I've sucessfully installed struts-documentation.war and struts-example.war .
When tested both apps work from www.mysite.com:8080/struts-example/ (tomcat)
and from www.mysite.com/struts-example/ ( apache + tomcat )
But when testing an app made by me , when attempting to run from tomcat
alone works but from Apache + Tomcat, returns me a 403 HTTP error.
I've carefully set up server.xml and tomcat-apache.conf , but can't make it
run.
My app is not under tomcat's webapp directory but under /home/xyzuser/app.
Any suggestions??
Domingo Aguilera
RE: Help on making struts with Apache + Tomcat
Posted by Domingo Aguilera <do...@sinergia.com.mx>.
Tks for the help. The browser also tells me that.
This is a problem of Apache not talking as desired to tomcat.
When I run the app from tomcat ( port 8080 ) alone everything is right , but
when trying to run from Apache (which is installed in port 80) this error is
being reported.
Under webapps the only difference is that I don't have a war file.
Can this WAR file omission cause such problem?
-----Mensaje original-----
De: rickster@mindspring.com [mailto:rickster@mindspring.com]En nombre de
Rick Smith
Enviado el: Miercoles, 04 de Julio de 2001 02:49 p.m.
Para: struts-user@jakarta.apache.org
Asunto: Re: Help on making struts with Apache + Tomcat
This might help http://www.iqinternet.com/services/faq/4.htm
Domingo Aguilera wrote:
>
> I moved the app to $TOMCAT_HOME/webapps but I'm still having the 403
error.
>
> By moving the app to $TOMCAT_HOME/webapps I'm avoiding the inclusion of a
> <CONTEXT PATH> tag in server.xml (as in struts-example).
>
> Also the tomcat-apache.conf file includes the directives very similar to
> what were related to struts-example, I mean:
>
> Alias ....
>
> <Directory ...>... </Directory>
> ApjServMount ....
> <Location ... for the WEB-INF>
> ...
> </Location>
> <Location ... for the META-INF>
> ...
> </Location>
>
> Indeed I am running other Apache + Tomcat non Struts web apps without a
> problem.
>
> -----Mensaje original-----
> De: rickster@mindspring.com [mailto:rickster@mindspring.com]En nombre de
> Rick Smith
> Enviado el: Miercoles, 04 de Julio de 2001 12:05 p.m.
> Para: struts-user@jakarta.apache.org
> Asunto: Re: Help on making struts with Apache + Tomcat
>
> You need to create a context or virtual host in the server.xml file.
>
> Domingo Aguilera wrote:
> >
> > Hi,
> >
> > I've been using the combination of Apache + tomcat 3.x
> >
> > I've sucessfully installed struts-documentation.war and
struts-example.war
> .
> >
> > When tested both apps work from www.mysite.com:8080/struts-example/
> (tomcat)
> > and from www.mysite.com/struts-example/ ( apache + tomcat )
> >
> > But when testing an app made by me , when attempting to run from tomcat
> > alone works but from Apache + Tomcat, returns me a 403 HTTP error.
> >
> > I've carefully set up server.xml and tomcat-apache.conf , but can't make
> it
> > run.
> >
> > My app is not under tomcat's webapp directory but under
/home/xyzuser/app.
> >
> > Any suggestions??
> >
> > Domingo Aguilera
Re: Help on making struts with Apache + Tomcat
Posted by Rick Smith <ri...@mindspring.com>.
This might help http://www.iqinternet.com/services/faq/4.htm
Domingo Aguilera wrote:
>
> I moved the app to $TOMCAT_HOME/webapps but I'm still having the 403 error.
>
> By moving the app to $TOMCAT_HOME/webapps I'm avoiding the inclusion of a
> <CONTEXT PATH> tag in server.xml (as in struts-example).
>
> Also the tomcat-apache.conf file includes the directives very similar to
> what were related to struts-example, I mean:
>
> Alias ....
>
> <Directory ...>... </Directory>
> ApjServMount ....
> <Location ... for the WEB-INF>
> ...
> </Location>
> <Location ... for the META-INF>
> ...
> </Location>
>
> Indeed I am running other Apache + Tomcat non Struts web apps without a
> problem.
>
> -----Mensaje original-----
> De: rickster@mindspring.com [mailto:rickster@mindspring.com]En nombre de
> Rick Smith
> Enviado el: Miercoles, 04 de Julio de 2001 12:05 p.m.
> Para: struts-user@jakarta.apache.org
> Asunto: Re: Help on making struts with Apache + Tomcat
>
> You need to create a context or virtual host in the server.xml file.
>
> Domingo Aguilera wrote:
> >
> > Hi,
> >
> > I've been using the combination of Apache + tomcat 3.x
> >
> > I've sucessfully installed struts-documentation.war and struts-example.war
> .
> >
> > When tested both apps work from www.mysite.com:8080/struts-example/
> (tomcat)
> > and from www.mysite.com/struts-example/ ( apache + tomcat )
> >
> > But when testing an app made by me , when attempting to run from tomcat
> > alone works but from Apache + Tomcat, returns me a 403 HTTP error.
> >
> > I've carefully set up server.xml and tomcat-apache.conf , but can't make
> it
> > run.
> >
> > My app is not under tomcat's webapp directory but under /home/xyzuser/app.
> >
> > Any suggestions??
> >
> > Domingo Aguilera
RE: Help on making struts with Apache + Tomcat
Posted by Domingo Aguilera <do...@sinergia.com.mx>.
I moved the app to $TOMCAT_HOME/webapps but I'm still having the 403 error.
By moving the app to $TOMCAT_HOME/webapps I'm avoiding the inclusion of a
<CONTEXT PATH> tag in server.xml (as in struts-example).
Also the tomcat-apache.conf file includes the directives very similar to
what were related to struts-example, I mean:
Alias ....
<Directory ...>... </Directory>
ApjServMount ....
<Location ... for the WEB-INF>
...
</Location>
<Location ... for the META-INF>
...
</Location>
Indeed I am running other Apache + Tomcat non Struts web apps without a
problem.
-----Mensaje original-----
De: rickster@mindspring.com [mailto:rickster@mindspring.com]En nombre de
Rick Smith
Enviado el: Miercoles, 04 de Julio de 2001 12:05 p.m.
Para: struts-user@jakarta.apache.org
Asunto: Re: Help on making struts with Apache + Tomcat
You need to create a context or virtual host in the server.xml file.
Domingo Aguilera wrote:
>
> Hi,
>
> I've been using the combination of Apache + tomcat 3.x
>
> I've sucessfully installed struts-documentation.war and struts-example.war
.
>
> When tested both apps work from www.mysite.com:8080/struts-example/
(tomcat)
> and from www.mysite.com/struts-example/ ( apache + tomcat )
>
> But when testing an app made by me , when attempting to run from tomcat
> alone works but from Apache + Tomcat, returns me a 403 HTTP error.
>
> I've carefully set up server.xml and tomcat-apache.conf , but can't make
it
> run.
>
> My app is not under tomcat's webapp directory but under /home/xyzuser/app.
>
> Any suggestions??
>
> Domingo Aguilera
Re: Help on making struts with Apache + Tomcat
Posted by Rick Smith <ri...@mindspring.com>.
You need to create a context or virtual host in the server.xml file.
Domingo Aguilera wrote:
>
> Hi,
>
> I've been using the combination of Apache + tomcat 3.x
>
> I've sucessfully installed struts-documentation.war and struts-example.war .
>
> When tested both apps work from www.mysite.com:8080/struts-example/ (tomcat)
> and from www.mysite.com/struts-example/ ( apache + tomcat )
>
> But when testing an app made by me , when attempting to run from tomcat
> alone works but from Apache + Tomcat, returns me a 403 HTTP error.
>
> I've carefully set up server.xml and tomcat-apache.conf , but can't make it
> run.
>
> My app is not under tomcat's webapp directory but under /home/xyzuser/app.
>
> Any suggestions??
>
> Domingo Aguilera