tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: Apache+Tomcat+mod_jk configuration
Date Tue, 29 Apr 2003 21:21:24 GMT

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 <daniel@enet.cu> 
wrote:

> I follow the instructions but nothing happen, I can not find mistake
>
> Daniel Alvarez
> ISP-InfoCom
> ----- Original Message -----
> From: "Tim Funk" <funkman@joedog.org>
> To: "Tomcat Users List" <tomcat-user@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


Mime
View raw message