Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 54828 invoked from network); 8 Apr 2002 08:45:20 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 Apr 2002 08:45:20 -0000 Received: (qmail 11153 invoked by uid 97); 8 Apr 2002 08:45:29 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 11137 invoked by uid 97); 8 Apr 2002 08:45:28 -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 11126 invoked from network); 8 Apr 2002 08:45:28 -0000 Message-ID: <3CB14B90.2020305@fujitsu-siemens.com> Date: Mon, 08 Apr 2002 09:49:36 +0200 From: jean-frederic clere Reply-To: jfrederic.clere@fujitsu-siemens.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020313 X-Accept-Language: en, fr, de MIME-Version: 1.0 To: "tomcat-dev@jakarta.apache.org" Subject: make path relative to server root in mod_jk2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I have played a little with mod_jk2 and I have missed a feature: To get a path relative to the server root. For example in jk_workerEnv.c: +++ if( configFile == NULL ) { wEnv->config->setPropertyString( env, wEnv->config, "config.file", "conf/jk2.properties" ); } +++ It would be nice to have /usr/local/apache/conf/jk2.properties when httpd is configured to be in /usr/local/apache (instead of /conf/jk2.properties in the son processes...). My first idea is to add makeRoot() in jk_ws_service_t. But I have the problem that apache needs a pool (not a jk_pool) to call ap_server_root_relative(). Where could I get the pool? Cheers Jean-frederic -- To unsubscribe, e-mail: For additional commands, e-mail: