On 4/27/07, FORAMITTI Laurent <[EMAIL PROTECTED]> wrote:

So I would like to know how is it possible to configure Apache to send some
informations about the authenticated user to my AppServer ?



Is it possible to add some values to the http header before that the mod_jk
or mod_wl forward the request to my AppServer ?

In a modern version of apache, something like this might work:

 RewriteEngine On
 RewriteCond %{LA-U:REMOTE_USER} (.+)
 RewriteRule .* - [E=RU:%1]
 RequestHeader add REMOTE_USER %{RU}e

(It would work in general with a standard reverse proxy. I'm not sure
if it will work with mod_jk.)

Joshua.

Reply via email to