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 "worker" (Tomcat) actually processed
> this request, right ?
> If so, why not have the desired response header added at the Tomcat level ?
> The more or less standard workhorsse URLRewriteFilter could be used here
> for that.
>     <rule>
>         <from>.*</from>
>         <set type="response-header" name="TC-worker">name of this
> tomcat</set>
>     </rule>
> and then check this on the way back in Apache..
> That would also overcome Rainer's note about load-balancing above.
> As a matter of fact, I am quite sure that Tomcat itself already adds
> some kind of response header to indicate that it was involved in this,
> so it might just be a matter of proper Tomcat configuration.

Much better :)

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to