Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 2/27/13 3:59 AM, André Warnier wrote: If I understand the original post correctly, the whole point would be to know, at the httpd level, which worker (Tomcat) actually processed this request, right ? If so, why not have the desired

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-03-03 Thread Rainer Jung
On 03.03.2013 15:44, Christopher Schultz wrote: André, On 2/27/13 3:59 AM, André Warnier wrote: If I understand the original post correctly, the whole point would be to know, at the httpd level, which worker (Tomcat) actually processed this request, right ? If so, why not have the desired

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread André Warnier
Rainer Jung wrote: On 26.02.2013 19:41, Jochen Wißmann wrote: Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add mod_jk`s env-variable JK_WORKER_NAME to the Header of the

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread Rainer Jung
On 27.02.2013 09:59, André Warnier wrote: And from Schwaben too... I feel a bit naive after all the sophisticated technical stuff above, in suggesting the following, but how about : If I understand the original post correctly, the whole point would be to know, at the httpd level, which

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread Jochen Wißmann
On 27.02.2013 09:59, André Warnier wrote: Rainer Jung wrote: On 26.02.2013 19:41, Jochen Wißmann wrote: Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add mod_jk`s env-variable

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread André Warnier
Jochen Wißmann wrote: On 27.02.2013 09:59, André Warnier wrote: Rainer Jung wrote: On 26.02.2013 19:41, Jochen Wißmann wrote: Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread Rainer Jung
On 27.02.2013 12:16, André Warnier wrote: Hi. Before you do that, you may want to have another look at this page : http://tomcat.apache.org/connectors-doc/reference/apache.html and in particular the section at the end labeled : Using SetHandler and Environment Variables I use this way of

mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Jochen Wißmann
Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add mod_jk`s env-variable JK_WORKER_NAME to the Header of the http-response. I tried to get something like this working: httpd.conf:

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jochen, On 2/26/13 10:41 AM, Jochen Wißmann wrote: I tried to get something like this working: httpd.conf: ... Header add TC-Server %{JK_WORKER_NAME}e This looks like it should work from my brief review of the documentation. TC-Server:

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Igor Cicimov
On 27/02/2013 5:42 AM, Jochen Wißmann jochen.wissm...@kepol.com wrote: Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add mod_jk`s env-variable JK_WORKER_NAME to the Header of the

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Jochen Wißmann
On 26.02.2013 23:52, Igor Cicimov wrote: On 27/02/2013 5:42 AM, Jochen Wißmann jochen.wissm...@kepol.com wrote: Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add mod_jk`s

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Jochen Wißmann
On 26.02.2013 22:38, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jochen, On 2/26/13 10:41 AM, Jochen Wißmann wrote: I tried to get something like this working: httpd.conf: ... Header add TC-Server %{JK_WORKER_NAME}e This looks like it should work from my brief

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Igor Cicimov
On 27/02/2013 10:47 AM, Jochen Wißmann jochen.wissm...@kepol.com wrote: On 26.02.2013 22:38, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jochen, On 2/26/13 10:41 AM, Jochen Wißmann wrote: I tried to get something like this working: httpd.conf: ... Header

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Igor Cicimov
On 27/02/2013 10:47 AM, Jochen Wißmann jochen.wissm...@kepol.com wrote: On 26.02.2013 22:38, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jochen, On 2/26/13 10:41 AM, Jochen Wißmann wrote: I tried to get something like this working: httpd.conf: ... Header

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 2/26/13 2:52 PM, Igor Cicimov wrote: On 27/02/2013 5:42 AM, Jochen Wißmann jochen.wissm...@kepol.com wrote: Header add TC-Server %{JK_WORKER_NAME}e I think this should be Header add TC-Server %{JK_WORKER_NAME}n ??! ${FOOBAR}n

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Rainer Jung
On 26.02.2013 19:41, Jochen Wißmann wrote: Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add mod_jk`s env-variable JK_WORKER_NAME to the Header of the http-response. I tried to