Hi there ! I'm sorry, I have no knowledge about the webapp connector. You could switch to the mod_jk connector, it has advantages like load balancing and serving only dynamic content. But you have to compile it for yourself to get a version which works which the apache version you have. The compiling is a bit tricky but can be done. There are numerous mails in this list about compiling the connector package. Two very helpful howtos can be found at http://www.pubbitch.org/jboss/mod_jk2.html and http://www.johnturner.com/howto/apache-tomcat-howto.html
Ciao, Branko. Am Donnerstag, 5. September 2002 11:00 schrieb Dionisio Ruiz de Zarate: > I am using tomcat 4.0.2 or 1. web_apps > > can you help me? > thanks > > Branko Kannenberg > > > Hi there ! > > > > Which connectro are you using? If it's mod_jk, you can use the autoconf > > feature, so you don't have to worry about the virtual host configuration > > in httpd.conf. > > > > Just add > > > > Include <path to tomcat>/conf/auto/mod_jk.conf > > > > to httpd.conf and something like > > > > <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" > > jkDebug="info" modJk="/opt/apache2/modules/mod_jk.so" /> > > > > to the "Server" section of your server.xml file and something like > > > > <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" > > append="true" forwardAll="true" noRoot="false" jkDebug="info" /> > > > > to the "Host" section of your server.xml file > > > > You probably have to adjust the parameters for the "Listener" directive, > > for a description of the parameters have a look at > > > > http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html > > > > It's for tomcat 3.3, but I am using 4.0.4 and it's still useful. > > > > Now, everytime you start tomcat, the file > > <path to tomcat>/conf/auto/mod_jk.conf > > will be created and includes the neccessary configuration for apache > > > > Ciao, Branko. > > > > Am Donnerstag, 5. September 2002 08:16 schrieb Dionisio Ruiz de Zarate: > >> I know how i must to configure the virtual hosts in apache but in the > >> tomcat server.xml i don't know. > >> > >> 1.- can any body send me one sample? > >> 2.- in the apache httpd.conf file, in the virtual host description i > >> have the normal virtual host description but for the interaction with > >> tomcat, must i add some lines? which lines are these?(for the > >> integration with tomcat) > >> > >> i am running in one linux platform (SuSE 8). > >> thanks > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> For additional > > commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
