httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] RequestHeader set Problem
Date Fri, 15 Apr 2005 10:58:00 GMT

Apache 2.0.53 with mod_proxy gets Requests from Clients, Requests are send to
the Backendsystem.

In one case, the User is authenticated by Apache using SSL Clientcertificate.

In another case, users without clinetcertificate can use Basic
Auth(mod_auth_ldap) for authentication. 

Authorisation is done completle in the Backendsystem. Apache writes an extra
Header "USER_ID" when authentication is done. Value of this header is the
username. The Header USER_ID is used by Backendsystem to authorize the User.

Now the Problem:  

RequestHeader set "USER_ID" %{SSL_CLIENT_S_DN_CN}e

Not working:
RequestHeader set "USER_ID" %{REMOTE_USER}e
in this case, the Header USER_ID is set, but value is (null).

The Apache ENV Var REMOTE_USER is filled correctly, bacuse i can see the right
value in the Log. (RemUser: %{REMOTE_USER}x)

So why the Header can't be filled with %{REMOTE_USER}e ?

Friendly Regards

------------------------------------------------   /\/  \/\
  Powerd by - letz board it, yeahhh !!    /  \ \ \ \
-----------------------------------------------  /  / \   \

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message