Hi David, Have you made any progress in solving this issue? If you put something simple like a phpinfo() type script in the resulting directory (or anything that prints out the environment) is REMOTE_USER properly populated?
Does mod_auth_cas redirect the user and not populate this field after the ticket is validated? Can you share the logs from LogLevel debug for that VirtualHost with CASDebug On? Thanks, -Phil On Sat, Jun 26, 2010 at 12:00 PM, David Wolowicz <[email protected]> wrote: > Hi all, > > > > I’m having some issues with mod_auth_cas, and passing the REMOTE_USER > variable to mod_rewrite. I’m not sure if it’s a apache module loading or run > time thing, or just something that is not working. > > > > Here is my test .htaccess: > > ################################### > > > > AuthType CAS > > AuthName "CAS" > > require valid-user > > > > <Files index.php> > > Satisfy Any > > </Files> > > > > RewriteEngine on > > RewriteCond %{REMOTE_USER} (.*) > > rewriteRule ^index.php(.*) > /research/conduct/signedin.php\?user\=%{REMOTE_USER} > > > > ################################### > > > > Please note that I’m putting the username into the URL so that I can see if > it’s there or not. All I can get from this is: > > https://adomain.uvic.ca /research/conduct/signedin.php?user%3d > > > > Any ideas? > > > > I have also attempted this: > > > > ################################### > > CASAuthNHeader CAS_USER > > > > AuthType CAS > > AuthName "CAS" > > require valid-user > > > > <Files index.php> > > Satisfy Any > > </Files> > > > > RewriteEngine on > > RewriteCond %{REMOTE_USER} (.*) > > rewriteRule ^index.php(.*) /research/conduct/signedin.php\?user\=%{CAS_USER} > > #################################### > > > > Any help would be greatly appreciated. > > > > Thanks > > > > David Wolowicz > > Manager of Web Services > > University Systems | University of Victoria > > (250) 721-6117 | [email protected] > > > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
