Re: [SOLVED][users@httpd] REMOTE_USER mod_proxy_ajp JBoss

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Il 08/05/2012 15:38, Eric Covener ha scritto:
What that I need is something like "JkEnvVar" of mod_jk
http://tomcat.apache.org/connectors-doc/reference/apache.html
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 JBoss.com 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.
Regards.
Francesco.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux