Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

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



Apache users RSS feed   Index | Next | Previous | View Threaded

f.sordillo at cineca

May 10, 2012, 2:47 AM

Post #1 of 1 (372 views)
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.

To unsubscribe, e-mail: users-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded

Interested in having your list archived? Contact Gossamer Threads
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.