You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Henri Gomez <hg...@apache.org> on 2004/03/02 16:13:29 UTC

jk/jk2 and ap_hook_translate_name

Hi Glenn and others :)

I see in jk that we're using :

ap_hook_translate_name(jk_translate,NULL,NULL,APR_HOOK_MIDDLE);

and now in jk2 :

static const char * const aszPre[] = { "mod_rewrite.c", NULL };
ap_hook_translate_name(jk2_translate, aszPre, NULL, APR_HOOK_FIRST);

What do you think of it ?

MIDDLE or FIRST but after mod_rewrite ?

We should be consistent here ...


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk/jk2 and ap_hook_translate_name

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Henri Gomez wrote:
> Hi Glenn and others :)
> 
> I see in jk that we're using :
> 
> ap_hook_translate_name(jk_translate,NULL,NULL,APR_HOOK_MIDDLE);
> 
> and now in jk2 :
> 
> static const char * const aszPre[] = { "mod_rewrite.c", NULL };
> ap_hook_translate_name(jk2_translate, aszPre, NULL, APR_HOOK_FIRST);
> 
> What do you think of it ?
> 
> MIDDLE or FIRST but after mod_rewrite ?

MIDDLE.

> 
> We should be consistent here ...
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


Re: jk/jk2 and ap_hook_translate_name

Posted by Henri Gomez <hg...@apache.org>.
Glenn Nielsen wrote:

> Henri,
> 
> It is hard to say.  It all depends on how changing jk hook
> priorities impact other apache modules. I am convinced that
> the best solution for this will not be found until we have
> an extensive test suite to test use of mod_jk 1/2 with other
> modules.  So if a change is made we can make sure use of
> mod_jk with other modules hasn't been broken.

May be the best will be to ask the question on http-dev ?

There is many specialists there :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk/jk2 and ap_hook_translate_name

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Henri Gomez wrote:
> jean-frederic clere wrote:
> 
>> jean-frederic clere wrote:
>>
>>> Henri Gomez wrote:
>>>
>>>
>>>> jean-frederic clere wrote:
>>>>
>>>>
>>>>
>>>>> Henri Gomez wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Glenn Nielsen wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Henri,
>>>>>>>
>>>>>>> It is hard to say.  It all depends on how changing jk hook
>>>>>>> priorities impact other apache modules. I am convinced that
>>>>>>> the best solution for this will not be found until we have
>>>>>>> an extensive test suite to test use of mod_jk 1/2 with other
>>>>>>> modules.  So if a change is made we can make sure use of
>>>>>>> mod_jk with other modules hasn't been broken.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Jean-Frederic Clere send us a link to a french site where the
>>>>>> Apache specialist speaking about jk2 and rewrite used jk2
>>>>>> in FIRST but indicating that rewrite is the precedent.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Why using APR_HOOK_MIDDLE for translate_name :
>>>>> - It will be like mod_jk.
>>>>> - It works for me with mod_dav and mod_rewrite (fixes 21549 and
>>>>> 21546).
>>>>>
>>>>> Why not using APR_HOOK_FIRST:
>>>>> - It does not work with mod_dav.
>>>>>
>>>>> BTW: Mod_dav.c does not have translate_name I use a <Location> to
>>>>> get DAV
>>>>> activated on the needed URL. Core.c use APR_HOOK_REALLY_LAST and
>>>>> mod_rewrite
>>>>> APR_HOOK_FIRST so I do not understand why 21546 get fixed by using
>>>>> APR_HOOK_MIDDLE.
>>>>
>>>>
>>>>
>>>> Ok, so I revert to APR_HOOK_MIDDLE for now, it will be the same as jk
>>>
>>>
>>>
>>> Should I close the corresponding bugs?
>>
>>
>>
>> No... At least not yet that is still not working correctly :-((
> 
> 
> JF, will you works on moving translate in storage as Justin suggested ?

Yes. I have started moving it and I will go on doing it after lunch.

> 
> Glenn, what do you think of that ?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


Re: jk/jk2 and ap_hook_translate_name

Posted by Glenn Nielsen <gl...@mail.more.net>.
On Wed, Mar 03, 2004 at 12:29:19PM +0100, Henri Gomez wrote:
> jean-frederic clere wrote:
> 
> >jean-frederic clere wrote:
> >
> >>Henri Gomez wrote:
> >>
> >>
> >>>jean-frederic clere wrote:
> >>>
> >>>
> >>>
> >>>>Henri Gomez wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Glenn Nielsen wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Henri,
> >>>>>>
> >>>>>>It is hard to say.  It all depends on how changing jk hook
> >>>>>>priorities impact other apache modules. I am convinced that
> >>>>>>the best solution for this will not be found until we have
> >>>>>>an extensive test suite to test use of mod_jk 1/2 with other
> >>>>>>modules.  So if a change is made we can make sure use of
> >>>>>>mod_jk with other modules hasn't been broken.
> >>>>>
> >>>>>
> >>>>>
> >>>>>Jean-Frederic Clere send us a link to a french site where the
> >>>>>Apache specialist speaking about jk2 and rewrite used jk2
> >>>>>in FIRST but indicating that rewrite is the precedent.
> >>>>
> >>>>
> >>>>
> >>>>Why using APR_HOOK_MIDDLE for translate_name :
> >>>>- It will be like mod_jk.
> >>>>- It works for me with mod_dav and mod_rewrite (fixes 21549 and 21546).
> >>>>
> >>>>Why not using APR_HOOK_FIRST:
> >>>>- It does not work with mod_dav.
> >>>>
> >>>>BTW: Mod_dav.c does not have translate_name I use a <Location> to get 
> >>>>DAV
> >>>>activated on the needed URL. Core.c use APR_HOOK_REALLY_LAST and
> >>>>mod_rewrite
> >>>>APR_HOOK_FIRST so I do not understand why 21546 get fixed by using
> >>>>APR_HOOK_MIDDLE.
> >>>
> >>>
> >>>Ok, so I revert to APR_HOOK_MIDDLE for now, it will be the same as jk
> >>
> >>
> >>Should I close the corresponding bugs?
> >
> >
> >No... At least not yet that is still not working correctly :-((
> 
> JF, will you works on moving translate in storage as Justin suggested ?
> 
> Glenn, what do you think of that ?

I think Justin's suggestion is a good one.

Glenn

----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk/jk2 and ap_hook_translate_name

Posted by Henri Gomez <hg...@apache.org>.
jean-frederic clere wrote:

> jean-frederic clere wrote:
> 
>>Henri Gomez wrote:
>>
>>
>>>jean-frederic clere wrote:
>>>
>>>
>>>
>>>>Henri Gomez wrote:
>>>>
>>>>
>>>>
>>>>>Glenn Nielsen wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Henri,
>>>>>>
>>>>>>It is hard to say.  It all depends on how changing jk hook
>>>>>>priorities impact other apache modules. I am convinced that
>>>>>>the best solution for this will not be found until we have
>>>>>>an extensive test suite to test use of mod_jk 1/2 with other
>>>>>>modules.  So if a change is made we can make sure use of
>>>>>>mod_jk with other modules hasn't been broken.
>>>>>
>>>>>
>>>>>
>>>>>Jean-Frederic Clere send us a link to a french site where the
>>>>>Apache specialist speaking about jk2 and rewrite used jk2
>>>>>in FIRST but indicating that rewrite is the precedent.
>>>>
>>>>
>>>>
>>>>Why using APR_HOOK_MIDDLE for translate_name :
>>>>- It will be like mod_jk.
>>>>- It works for me with mod_dav and mod_rewrite (fixes 21549 and 21546).
>>>>
>>>>Why not using APR_HOOK_FIRST:
>>>>- It does not work with mod_dav.
>>>>
>>>>BTW: Mod_dav.c does not have translate_name I use a <Location> to get DAV
>>>>activated on the needed URL. Core.c use APR_HOOK_REALLY_LAST and
>>>>mod_rewrite
>>>>APR_HOOK_FIRST so I do not understand why 21546 get fixed by using
>>>>APR_HOOK_MIDDLE.
>>>
>>>
>>>Ok, so I revert to APR_HOOK_MIDDLE for now, it will be the same as jk
>>
>>
>>Should I close the corresponding bugs?
> 
> 
> No... At least not yet that is still not working correctly :-((

JF, will you works on moving translate in storage as Justin suggested ?

Glenn, what do you think of that ?


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk/jk2 and ap_hook_translate_name

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
jean-frederic clere wrote:
> Henri Gomez wrote:
> 
>>jean-frederic clere wrote:
>>
>>
>>>Henri Gomez wrote:
>>>
>>>
>>>>Glenn Nielsen wrote:
>>>>
>>>>
>>>>
>>>>>Henri,
>>>>>
>>>>>It is hard to say.  It all depends on how changing jk hook
>>>>>priorities impact other apache modules. I am convinced that
>>>>>the best solution for this will not be found until we have
>>>>>an extensive test suite to test use of mod_jk 1/2 with other
>>>>>modules.  So if a change is made we can make sure use of
>>>>>mod_jk with other modules hasn't been broken.
>>>>
>>>>
>>>>
>>>>Jean-Frederic Clere send us a link to a french site where the
>>>>Apache specialist speaking about jk2 and rewrite used jk2
>>>>in FIRST but indicating that rewrite is the precedent.
>>>
>>>
>>>
>>>Why using APR_HOOK_MIDDLE for translate_name :
>>>- It will be like mod_jk.
>>>- It works for me with mod_dav and mod_rewrite (fixes 21549 and 21546).
>>>
>>>Why not using APR_HOOK_FIRST:
>>>- It does not work with mod_dav.
>>>
>>>BTW: Mod_dav.c does not have translate_name I use a <Location> to get DAV
>>>activated on the needed URL. Core.c use APR_HOOK_REALLY_LAST and
>>>mod_rewrite
>>>APR_HOOK_FIRST so I do not understand why 21546 get fixed by using
>>>APR_HOOK_MIDDLE.
>>
>>
>>Ok, so I revert to APR_HOOK_MIDDLE for now, it will be the same as jk
> 
> 
> Should I close the corresponding bugs?

No... At least not yet that is still not working correctly :-((
> 
> 
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
> 
> 


Re: jk/jk2 and ap_hook_translate_name

Posted by Henri Gomez <hg...@apache.org>.
jean-frederic clere wrote:

> Henri Gomez wrote:
> 
>>jean-frederic clere wrote:
>>
>>
>>>Henri Gomez wrote:
>>>
>>>
>>>>Glenn Nielsen wrote:
>>>>
>>>>
>>>>
>>>>>Henri,
>>>>>
>>>>>It is hard to say.  It all depends on how changing jk hook
>>>>>priorities impact other apache modules. I am convinced that
>>>>>the best solution for this will not be found until we have
>>>>>an extensive test suite to test use of mod_jk 1/2 with other
>>>>>modules.  So if a change is made we can make sure use of
>>>>>mod_jk with other modules hasn't been broken.
>>>>
>>>>
>>>>
>>>>Jean-Frederic Clere send us a link to a french site where the
>>>>Apache specialist speaking about jk2 and rewrite used jk2
>>>>in FIRST but indicating that rewrite is the precedent.
>>>
>>>
>>>
>>>Why using APR_HOOK_MIDDLE for translate_name :
>>>- It will be like mod_jk.
>>>- It works for me with mod_dav and mod_rewrite (fixes 21549 and 21546).
>>>
>>>Why not using APR_HOOK_FIRST:
>>>- It does not work with mod_dav.
>>>
>>>BTW: Mod_dav.c does not have translate_name I use a <Location> to get DAV
>>>activated on the needed URL. Core.c use APR_HOOK_REALLY_LAST and
>>>mod_rewrite
>>>APR_HOOK_FIRST so I do not understand why 21546 get fixed by using
>>>APR_HOOK_MIDDLE.
>>
>>
>>Ok, so I revert to APR_HOOK_MIDDLE for now, it will be the same as jk
> 
> 
> Should I close the corresponding bugs?

Yes

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk/jk2 and ap_hook_translate_name

Posted by Ramon Pons <ra...@linkend.com>.
Sorry, it was an error  answering this  email

Ramon Pons wrote:

> Ok, you are rigth. In a few minutes will be ready.
> Regards,
> Ramon
>
> jean-frederic clere wrote:
>
>> Henri Gomez wrote:
>>  
>>
>>> jean-frederic clere wrote:
>>>
>>>   
>>>
>>>> Henri Gomez wrote:
>>>>
>>>>     
>>>>
>>>>> Glenn Nielsen wrote:
>>>>>
>>>>>
>>>>>       
>>>>>
>>>>>> Henri,
>>>>>>
>>>>>> It is hard to say.  It all depends on how changing jk hook
>>>>>> priorities impact other apache modules. I am convinced that
>>>>>> the best solution for this will not be found until we have
>>>>>> an extensive test suite to test use of mod_jk 1/2 with other
>>>>>> modules.  So if a change is made we can make sure use of
>>>>>> mod_jk with other modules hasn't been broken.
>>>>>>         
>>>>>
>>>>>
>>>>> Jean-Frederic Clere send us a link to a french site where the
>>>>> Apache specialist speaking about jk2 and rewrite used jk2
>>>>> in FIRST but indicating that rewrite is the precedent.
>>>>>       
>>>>
>>>>
>>>> Why using APR_HOOK_MIDDLE for translate_name :
>>>> - It will be like mod_jk.
>>>> - It works for me with mod_dav and mod_rewrite (fixes 21549 and 
>>>> 21546).
>>>>
>>>> Why not using APR_HOOK_FIRST:
>>>> - It does not work with mod_dav.
>>>>
>>>> BTW: Mod_dav.c does not have translate_name I use a <Location> to 
>>>> get DAV
>>>> activated on the needed URL. Core.c use APR_HOOK_REALLY_LAST and
>>>> mod_rewrite
>>>> APR_HOOK_FIRST so I do not understand why 21546 get fixed by using
>>>> APR_HOOK_MIDDLE.
>>>>     
>>>
>>> Ok, so I revert to APR_HOOK_MIDDLE for now, it will be the same as jk
>>>   
>>
>>
>> Should I close the corresponding bugs?
>>
>>  
>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>>
>>>
>>>   
>>
>>
>>  
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk/jk2 and ap_hook_translate_name

Posted by Ramon Pons <ra...@linkend.com>.
Ok, you are rigth. In a few minutes will be ready.
Regards,
Ramon

jean-frederic clere wrote:

>Henri Gomez wrote:
>  
>
>>jean-frederic clere wrote:
>>
>>    
>>
>>>Henri Gomez wrote:
>>>
>>>      
>>>
>>>>Glenn Nielsen wrote:
>>>>
>>>>
>>>>        
>>>>
>>>>>Henri,
>>>>>
>>>>>It is hard to say.  It all depends on how changing jk hook
>>>>>priorities impact other apache modules. I am convinced that
>>>>>the best solution for this will not be found until we have
>>>>>an extensive test suite to test use of mod_jk 1/2 with other
>>>>>modules.  So if a change is made we can make sure use of
>>>>>mod_jk with other modules hasn't been broken.
>>>>>          
>>>>>
>>>>
>>>>Jean-Frederic Clere send us a link to a french site where the
>>>>Apache specialist speaking about jk2 and rewrite used jk2
>>>>in FIRST but indicating that rewrite is the precedent.
>>>>        
>>>>
>>>
>>>Why using APR_HOOK_MIDDLE for translate_name :
>>>- It will be like mod_jk.
>>>- It works for me with mod_dav and mod_rewrite (fixes 21549 and 21546).
>>>
>>>Why not using APR_HOOK_FIRST:
>>>- It does not work with mod_dav.
>>>
>>>BTW: Mod_dav.c does not have translate_name I use a <Location> to get DAV
>>>activated on the needed URL. Core.c use APR_HOOK_REALLY_LAST and
>>>mod_rewrite
>>>APR_HOOK_FIRST so I do not understand why 21546 get fixed by using
>>>APR_HOOK_MIDDLE.
>>>      
>>>
>>Ok, so I revert to APR_HOOK_MIDDLE for now, it will be the same as jk
>>    
>>
>
>Should I close the corresponding bugs?
>
>  
>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
>>    
>>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk/jk2 and ap_hook_translate_name

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Henri Gomez wrote:
> jean-frederic clere wrote:
> 
>> Henri Gomez wrote:
>>
>>> Glenn Nielsen wrote:
>>>
>>>
>>>> Henri,
>>>>
>>>> It is hard to say.  It all depends on how changing jk hook
>>>> priorities impact other apache modules. I am convinced that
>>>> the best solution for this will not be found until we have
>>>> an extensive test suite to test use of mod_jk 1/2 with other
>>>> modules.  So if a change is made we can make sure use of
>>>> mod_jk with other modules hasn't been broken.
>>>
>>>
>>>
>>> Jean-Frederic Clere send us a link to a french site where the
>>> Apache specialist speaking about jk2 and rewrite used jk2
>>> in FIRST but indicating that rewrite is the precedent.
>>
>>
>>
>> Why using APR_HOOK_MIDDLE for translate_name :
>> - It will be like mod_jk.
>> - It works for me with mod_dav and mod_rewrite (fixes 21549 and 21546).
>>
>> Why not using APR_HOOK_FIRST:
>> - It does not work with mod_dav.
>>
>> BTW: Mod_dav.c does not have translate_name I use a <Location> to get DAV
>> activated on the needed URL. Core.c use APR_HOOK_REALLY_LAST and
>> mod_rewrite
>> APR_HOOK_FIRST so I do not understand why 21546 get fixed by using
>> APR_HOOK_MIDDLE.
> 
> 
> Ok, so I revert to APR_HOOK_MIDDLE for now, it will be the same as jk

Should I close the corresponding bugs?

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


Re: jk/jk2 and ap_hook_translate_name

Posted by Henri Gomez <hg...@apache.org>.
jean-frederic clere wrote:
> Henri Gomez wrote:
> 
>>Glenn Nielsen wrote:
>>
>>
>>>Henri,
>>>
>>>It is hard to say.  It all depends on how changing jk hook
>>>priorities impact other apache modules. I am convinced that
>>>the best solution for this will not be found until we have
>>>an extensive test suite to test use of mod_jk 1/2 with other
>>>modules.  So if a change is made we can make sure use of
>>>mod_jk with other modules hasn't been broken.
>>
>>
>>Jean-Frederic Clere send us a link to a french site where the
>>Apache specialist speaking about jk2 and rewrite used jk2
>>in FIRST but indicating that rewrite is the precedent.
> 
> 
> Why using APR_HOOK_MIDDLE for translate_name :
> - It will be like mod_jk.
> - It works for me with mod_dav and mod_rewrite (fixes 21549 and 21546).
> 
> Why not using APR_HOOK_FIRST:
> - It does not work with mod_dav.
> 
> BTW: Mod_dav.c does not have translate_name I use a <Location> to get DAV
> activated on the needed URL. Core.c use APR_HOOK_REALLY_LAST and mod_rewrite
> APR_HOOK_FIRST so I do not understand why 21546 get fixed by using APR_HOOK_MIDDLE.

Ok, so I revert to APR_HOOK_MIDDLE for now, it will be the same as jk

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk/jk2 and ap_hook_translate_name

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Henri Gomez wrote:
> Glenn Nielsen wrote:
> 
>> Henri,
>>
>> It is hard to say.  It all depends on how changing jk hook
>> priorities impact other apache modules. I am convinced that
>> the best solution for this will not be found until we have
>> an extensive test suite to test use of mod_jk 1/2 with other
>> modules.  So if a change is made we can make sure use of
>> mod_jk with other modules hasn't been broken.
> 
> 
> Jean-Frederic Clere send us a link to a french site where the
> Apache specialist speaking about jk2 and rewrite used jk2
> in FIRST but indicating that rewrite is the precedent.

Why using APR_HOOK_MIDDLE for translate_name :
- It will be like mod_jk.
- It works for me with mod_dav and mod_rewrite (fixes 21549 and 21546).

Why not using APR_HOOK_FIRST:
- It does not work with mod_dav.

BTW: Mod_dav.c does not have translate_name I use a <Location> to get DAV
activated on the needed URL. Core.c use APR_HOOK_REALLY_LAST and mod_rewrite
APR_HOOK_FIRST so I do not understand why 21546 get fixed by using APR_HOOK_MIDDLE.


> 
> BTW, there is not so many Apache 2 modules using translate in
> with FIRST ...
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


Re: jk/jk2 and ap_hook_translate_name

Posted by Henri Gomez <hg...@apache.org>.
Glenn Nielsen wrote:
> Henri,
> 
> It is hard to say.  It all depends on how changing jk hook
> priorities impact other apache modules. I am convinced that
> the best solution for this will not be found until we have
> an extensive test suite to test use of mod_jk 1/2 with other
> modules.  So if a change is made we can make sure use of
> mod_jk with other modules hasn't been broken.

Jean-Frederic Clere send us a link to a french site where the
Apache specialist speaking about jk2 and rewrite used jk2
in FIRST but indicating that rewrite is the precedent.

BTW, there is not so many Apache 2 modules using translate in
with FIRST ...


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk/jk2 and ap_hook_translate_name

Posted by Glenn Nielsen <gl...@mail.more.net>.
Henri,

It is hard to say.  It all depends on how changing jk hook
priorities impact other apache modules. I am convinced that
the best solution for this will not be found until we have
an extensive test suite to test use of mod_jk 1/2 with other
modules.  So if a change is made we can make sure use of
mod_jk with other modules hasn't been broken.

Regards,

Glenn

On Tue, Mar 02, 2004 at 04:13:29PM +0100, Henri Gomez wrote:
> Hi Glenn and others :)
> 
> I see in jk that we're using :
> 
> ap_hook_translate_name(jk_translate,NULL,NULL,APR_HOOK_MIDDLE);
> 
> and now in jk2 :
> 
> static const char * const aszPre[] = { "mod_rewrite.c", NULL };
> ap_hook_translate_name(jk2_translate, aszPre, NULL, APR_HOOK_FIRST);
> 
> What do you think of it ?
> 
> MIDDLE or FIRST but after mod_rewrite ?
> 
> We should be consistent here ...
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org