You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Luis Daniel Alvarez <da...@enet.cu> on 2003/04/29 20:28:56 UTC

Apache+Tomcat+mod_jk configuration

 I have Apache 2.0.45 + Tomcat 4.1.24 and mod-jk compiled by myself
When I try to get  http://www.mysite.com I got a list of files on my /opt/tomcat/webapps/mysite directory
But when I visit http://www.mysite.com/mysite everything is ok I got my page
I'm not sure it is and apache configuration or a virtual host configuration on my server.xml
What can I do to solve this problem

Daniel Alvarez
ISP-InfoCom

Re: Apache+Tomcat+mod_jk configuration

Posted by John Turner <to...@johnturner.com>.
You're getting a directory listing because Apache's document root is 
pointing to your webapp directory, and there is no index.html file in there 
for Apache to serve.

Put an index.html file in your webapp directory.

If you are asking how to make "/" be your page instead of "/mysite", then 
you have to put your page or your webapp in $CATALINA_HOME/webapps/ROOT in 
a default Tomcat install, or change the docBase of the Context in 
server.xml that has a path of "".

John

On Tue, 29 Apr 2003 16:49:39 -0400, Luis Daniel Alvarez <da...@enet.cu> 
wrote:

> I follow the instructions but nothing happen, I can not find mistake
>
> Daniel Alvarez
> ISP-InfoCom
> ----- Original Message -----
> From: "Tim Funk" <fu...@joedog.org>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Tuesday, April 29, 2003 3:16 PM
> Subject: Re: Apache+Tomcat+mod_jk configuration
>
>
>> http://tomcatfaq.sourceforge.net/apache.html
>>
>> -Tim
>>
>> Luis Daniel Alvarez wrote:
>> >  I have Apache 2.0.45 + Tomcat 4.1.24 and mod-jk compiled by myself
>> > When I try to get  http://www.mysite.com I got a list of files on my
> /opt/tomcat/webapps/mysite directory
>> > But when I visit http://www.mysite.com/mysite everything is ok I got 
>> my
> page
>> > I'm not sure it is and apache configuration or a virtual host
> configuration on my server.xml
>> > What can I do to solve this problem
>> >
>> > Daniel Alvarez
>> > ISP-InfoCom
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Apache+Tomcat+mod_jk configuration

Posted by Luis Daniel Alvarez <da...@enet.cu>.
I follow the instructions but nothing happen, I can not find mistake

Daniel Alvarez
ISP-InfoCom
----- Original Message -----
From: "Tim Funk" <fu...@joedog.org>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, April 29, 2003 3:16 PM
Subject: Re: Apache+Tomcat+mod_jk configuration


> http://tomcatfaq.sourceforge.net/apache.html
>
> -Tim
>
> Luis Daniel Alvarez wrote:
> >  I have Apache 2.0.45 + Tomcat 4.1.24 and mod-jk compiled by myself
> > When I try to get  http://www.mysite.com I got a list of files on my
/opt/tomcat/webapps/mysite directory
> > But when I visit http://www.mysite.com/mysite everything is ok I got my
page
> > I'm not sure it is and apache configuration or a virtual host
configuration on my server.xml
> > What can I do to solve this problem
> >
> > Daniel Alvarez
> > ISP-InfoCom
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Apache+Tomcat+mod_jk configuration

Posted by Tim Funk <fu...@joedog.org>.
http://tomcatfaq.sourceforge.net/apache.html

-Tim

Luis Daniel Alvarez wrote:
>  I have Apache 2.0.45 + Tomcat 4.1.24 and mod-jk compiled by myself
> When I try to get  http://www.mysite.com I got a list of files on my /opt/tomcat/webapps/mysite directory
> But when I visit http://www.mysite.com/mysite everything is ok I got my page
> I'm not sure it is and apache configuration or a virtual host configuration on my server.xml
> What can I do to solve this problem
> 
> Daniel Alvarez
> ISP-InfoCom


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org