Dear All

How can i pass the remote_user value to application server from reverse proxy?

I had setup kerberos Auth + reverse proxy but the remote_user value was not able pass to application server.

Please help. thanks.

Below my setting
Code:
<VirtualHost 10.8.1.94:80>
  ServerAdmin webmaster@domain.com.sg
  DocumentRoot "/var/www/html/eseanet"
  DirectoryIndex index.php index.html index.htm

  ServerName eseanet.domain.com
  ErrorLog /var/log/httpd/eseanet_com_sg_error_log
  CustomLog /var/log/httpd/eseanet_com_sg_access_log common

  SecRuleInheritance Off
  Include vhost/modsecurity_setup_eseanet.domain.com.conf

  <Directory /var/www/html/eseanet/>
        AuthType Kerberos
        KrbAuthRealms DOMAIN.COM
        KrbServiceName HTTP
        Krb5Keytab /etc/httpd/conf/eseanet.keytab
        KrbMethodNegotiate On
        KrbMethodK5Passwd On
        require valid-user
  </Directory>

    RewriteEngine On
    RewriteLog "/var/log/httpd/rewrite.log"
    RewriteLogLevel 9
    RewriteCond %{REQUEST_URI} !^/(intranet/.*)$
    RewriteRule ^(.*)$ http://eseanet.domain.com/intranet$1
    RewriteCond %{LA-U:REMOTE_USER} (.*)$
    RequestHeader set X-Forwarded-User %{RU}e
    RewriteRule . - [E=RU:%1,NS]

    ProxyRequests Off

    ProxyPass /intranet  http://10.8.1.11/
    ProxyPassReverse /intranet  http://10.8.1.11/

    ProxyHTMLURLMap http://10.8.1.11/ /intranet
    RequestHeader set Host "eseanet.domain.com
</VirtualHost>