[cas-dev] mod_cas, remote_user and reverse_proxy

Sylvain De Feo sylvain.de-feo at univ-rennes1.fr
Tue May 22 08:18:07 EDT 2007


Hello,
I'm a french user of mod_cas (so sorry for my english), and I have a 
problem.
i have this configuration :
an apache with mod_proxy and mod_prxy_reverse, and another apache behind 
the first one.
I want to read the remote_user variable in the second apache.

So, in my virtualhost I have this :
RewriteCond %{LA-U:REMOTE_USER} ^(.*)
RewriteRule ^.* - [env=MY_REMOTE_USER:%1]
RequestHeader set REMOTE_USER %{MY_REMOTE_USER}e

With the mod_auth_basic, it's ok, but not with the mod_cas :
first call : i'm going to the CAS server, and then nothing in 
MY_REMOTE_USER variable
second call : the CAS server know me yet, and MY_REMOTE_USER is ok.

I don't understand this behaviour.

Do you know this problem ?

-- 
**********************************************
Sylvain De Feo
CRI - Université de Rennes 1
**********************************************



More information about the cas-dev mailing list