Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 48374 invoked from network); 9 May 2000 22:30:11 -0000 Received: from apolo.cs.pub.ro (HELO cs.pub.ro) (141.85.37.20) by locus.apache.org with SMTP; 9 May 2000 22:30:11 -0000 Received: (from gaburici@localhost) by cs.pub.ro (8.8.5/8.8.5) id AAA26170; Wed, 10 May 2000 00:22:57 +0200 (EET) Date: Wed, 10 May 2000 00:22:56 +0200 (EET) From: Vasile GABURICI To: tomcat-user@jakarta.apache.org Subject: Re: Include tomcat.conf vs. Include tomcat-apache.conf In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is explained in the user guide, but here it goes: 1) You should include only one the files 2) Which one? It depends. tomcat-apache.conf is generated by tomcat every time it is (re)started. The advantage is that changes to contexts in server.xml automatically are reflected in appropriate directives in tomcat-apache.conf, so you only need to maintain one file. This may be useful if you add/change web apps often. You need of course to restart apache after you restart tomcat for changes to take effect. tomcat.conf is a sample provided for convenience; you need to make all the changes yourself and the name of the file is not important. The advantage is that you can make custom tweaks here. I prefer the second option because I don't have may contexts to deal with, and I didn't want to bother finding out why the LoadModule directive in tomcat-apache.conf is generated with a wrong path. There is another more subtle issue: I need mod_jserv to come before mod_rewrite in the conf file, so I load it in httpd.conf. I hope this helps, Vasile On Mon, 8 May 2000, Otis Gospodnetic wrote: > Hello, > > Tomcat 3.1 User Guide is a little unclear about the Include directive that > needs to go in Apache's httpd.conf. > > In one place the guide says that one should include tomcat-apache.conf file > which is generated by Tomcat when it is started. > And in another place it says that one should include tomcat.conf. > > Which of the two config files should be included? Both maybe? > > Thanks, > > Otis > > > -------------------------------------------------------------------------- > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org > For additional commmands, email: tomcat-user-help@jakarta.apache.org > >