Mailing List Archive

Re: [SOLVED][users@httpd] REMOTE_USER mod_proxy_ajp JBoss
Il 08/05/2012 15:38, Eric Covener ha scritto:
>> What that I need is something like "JkEnvVar" of mod_jk
>> that forward REMOTE_USER as request property.
> "Environment variables whose names have the prefix AJP_ are forwarded
> to the origin server as AJP request attributes (with the AJP_ prefix
> removed from the name of the key)."
> Try copying it with setenvif.

Thanks Eric. Also support suggested me the same solution.
I added this rewrite rule

RewriteCond %{LA-U:REMOTE_USER} (.*)
RewriteRule .* - [E=AJP_REMOTE_USER:%1]

and it works!!!
Thanks a lot.

To unsubscribe, e-mail:
For additional commands, e-mail: