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

Reply via email to