
f.sordillo at cineca
May 10, 2012, 2:47 AM
Post #1 of 1
(139 views)
Permalink
|
|
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 >> 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 [at] httpd For additional commands, e-mail: users-help [at] httpd
|