Re: make path relative to server root in mod_jk2

2002-04-09 Thread jean-frederic clere
[EMAIL PROTECTED] wrote: > On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote: > > >>>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? >> > > Actually, that would

Re: make path relative to server root in mod_jk2

2002-04-08 Thread costinm
On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote: > > 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? Actually, that would be a good idea too ( adding another

Re: make path relative to server root in mod_jk2

2002-04-08 Thread costinm
On Mon, 8 Apr 2002, jean-frederic clere wrote: > 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 ha

RE: make path relative to server root in mod_jk2

2002-04-08 Thread GOMEZ Henri
>>>Ok... But where should we stored it? Like a property >"server.root" in >>>jk_workerEnv_t? >> >> >> Yes > >Storing it in jk_config but how to get it back? >Will not it be more easy to add a char* server_root to jk_workerEnv_t? The simpler, the better. Not that I proposed initially somethi

Re: make path relative to server root in mod_jk2

2002-04-08 Thread jean-frederic clere
GOMEZ Henri wrote: >>>Why not just use a char * which will be initialised by >>>mod_jk for AP1.3/2.0 and later for IIS/iPlanet ;) >> >>Ok... But where should we stored it? Like a property "server.root" in >>jk_workerEnv_t? > > > Yes Storing it in jk_config but how to get it back? Will not it

RE: make path relative to server root in mod_jk2

2002-04-08 Thread GOMEZ Henri
>> Why not just use a char * which will be initialised by >> mod_jk for AP1.3/2.0 and later for IIS/iPlanet ;) > >Ok... But where should we stored it? Like a property "server.root" in >jk_workerEnv_t? Yes -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: make path relative to server root in mod_jk2

2002-04-08 Thread jean-frederic clere
GOMEZ Henri wrote: > Hi JF > > >>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

RE: make path relative to server root in mod_jk2

2002-04-08 Thread GOMEZ Henri
Hi JF >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 poo

make path relative to server root in mod_jk2

2002-04-08 Thread jean-frederic clere
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",