tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Damn it!" <athi...@charter.net>
Subject Virtual Host + Tomcat + Apache
Date Mon, 06 Jan 2003 23:00:01 GMT
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>


Mime
View raw message