tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adrian <adrianthi...@netzero.net>
Subject Re: Virtual Host + Tomcat + Apache
Date Mon, 06 Jan 2003 23:23:51 GMT
Actually I would just as soon pull index.jsp instead. I tried setting 
Document Roots myself,
including my own mod_jk.conf from another directory and it works for the 
first, and the
second ignores its  DocumentRoot.
Here is my mod_jk.conf

Turner, John wrote:

>index.html doesn't go to Tomcat, so you would need to set the DocumentRoot
>in httpd.conf for Apache to find that file.
>
>Can you add your second host, start Tomcat, and then post the resulting
>mod_jk.conf file?  That would give us an idea of what Apache is being told.
>
>John
> 
>
>-----Original Message-----
>From: Adrian Damn it!
>To: tomcat-user@jakarta.apache.org
>Sent: 1/6/03 6:00 PM
>Subject: Virtual Host + Tomcat + Apache
>
>Having trouble with the vhosts with mod_jk.
>I can`t seem to get http://stafford.com/index.html to show up unless I
>set the DocumentRoot in the VirtualHost directive to 
>/usr/local/tomcat/webapps/stafford.
>But when I add an additional Virtual host it pulls the same
>DocumentRoot.
>
>
>
>  <Host name="stafford.com" debug="0" appBase="webapps"
>unpackWARs="true">
>         <Logger className="org.apache.catalina.logger.FileLogger"
>           directory="logs" prefix="stafford." suffix=".log" 
>timestamp="true"/>
>         <Context path="" docBase="stafford" debug="0"
>reloadable="true"/>
><Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" 
>append="true"
>forwardAll="false" modJk="/usr/local/apache/libexec/mod_jk.so"
>workersConfig="/usr/local/tomcat/conf/jk/workers.properties" />
>
>
></Host>
>
>
>--
>To unsubscribe, e-mail:
><mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail:
><mailto:tomcat-user-help@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
>
>
>
>  
>



Mime
View raw message