Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 63296 invoked from network); 14 Jul 2004 20:48:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Jul 2004 20:48:19 -0000 Received: (qmail 79945 invoked by uid 500); 14 Jul 2004 20:48:08 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 79891 invoked by uid 500); 14 Jul 2004 20:48:08 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 79878 invoked by uid 99); 14 Jul 2004 20:48:07 -0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_30_40,HTML_MESSAGE,HTML_TITLE_EMPTY X-Spam-Check-By: apache.org Received: from [12.11.148.32] (HELO exrelay.ptc.com) (12.11.148.32) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 14 Jul 2004 13:48:05 -0700 X-Ironport-AV: i="3.81R,168,1083556800"; d="scan'208"; a="1698:sNHT20525224" Received: from [132.253.9.102] ([132.253.9.102]) by HQ-EXFE1.ptcnet.ptc.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 14 Jul 2004 16:47:59 -0400 Message-ID: <40F59BFF.9060509@ptc.com> Date: Wed, 14 Jul 2004 15:47:59 -0500 From: Jess Holle User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Some JK2 ideas References: <200407142009.i6EK9Hhb027980@pop.xnet.hr> In-Reply-To: <200407142009.i6EK9Hhb027980@pop.xnet.hr> Content-Type: multipart/alternative; boundary="------------010508000106070603080603" X-OriginalArrivalTime: 14 Jul 2004 20:47:59.0710 (UTC) FILETIME=[D9483FE0:01C469E3] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------010508000106070603080603 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Mladen Turk wrote: > > > > >>-----Original Message----- >>From: Jess Holle >> >> >>>Who ever asked the poor apache admin about the TC's config ater all? >>> >>> >>> >>> >>It really does not matter who the admin is. Even a >>sophisticated admin is going to want to have file >>modification dates they can trust on various aspects of the >>configuration so they can answer "did I change this part?" questions. >> >> >Don't think that the current config provides that either. > > It does if you use JkUriSet. I have a separate (auto-generated) .conf file for every web app containing mod_jk, jk2, etc, etc, configuration and another auto-generated .conf file for each web app (included by the first) containing any/all Apache-side authentication configuration for the web app. I can have (and auto-generate) more files per web app, but I (and others I know) won't move to anything that regresses from this level of modularity. >>Using a modular multi-XML-file approach does not pollute the >>result with any additional server-specific or Tomcat-specific >>baggage. It just makes management and automated >>configuration/installation much more workable. >> >> >In contrary, it makes it simpler, cause you have a common denominator, and >that is 'well documented' config file, usable on any container. > > What I'm saying here is that I want modular per-web-app config-file support. I don't care if any/all server-specific and Tomcat-specific stuff is removed from them -- actually that is laudable in the long term even if a bit painful in the short term. I just don't want to be forced into shoving the whole configuration into a single file (or using XML entity reference hacks which are beyond ugly -- and require the main file to be modified to add extra entity references which is highly undesirable). >JkUriSet can be used only on the Apache server. >So, the question is, are we adapting the apache module to other servers, or >we have a >container independent module. > > I think you are missing my point: Go ahead and remove JkUriSet, just add equivalent functionality to do per-web-app configuration files. Just do it in a server-independent, XML-based way this time around. >If you wish to have a few virtual hosts, you will need to apply two >completely different >configurations for each side anyhow (httpd.conf or click-clik and >server.xml). >Having specific directives for each container makes that even more >complicated thought. > > I'm just looking for things like: * Web app X: o jk-mount /x/*, /y/*, and *.jsp o map these all to worker X * Web app Y o jk-mount /m/* and *.jsp o map these all to worker Y ....and so on.... With the information above (and any other things which are justifiably per-web-app *and* per-web-app support already exists for) be specifiable in separate files, one for Web app X, one for Web app Y, and so on. -- Jess Holle --------------010508000106070603080603--