.htaccess, CAS and filtering
Umut Arus
umuta at sabanciuniv.edu
Tue Mar 6 01:58:41 EST 2007
Hi,
I wish to order .htaccess files on web folders. Is it possible to use
any filtering method another way "require john, arus". On the other
hand, CAS is integrated with LDAP tree. How can I use filtering
attributes according to usernames or departments on the .htaccess file?
the .htaccess file,
---------------------
AuthType Apache::AuthCAS
AuthName "CAS"
PerlAuthenHandler Apache::AuthCAS->authenticate
PerlSetVar CASHost "logon.xxx.edu"
PerlSetVar CASPort "443"
PerlSetVar CASErrorURL "https://logon.xxx.edu/cas/error/"
#PerlSetVar CASService "https://yyy.xxx.edu/zzz/"
PerlSetVar CASDatabaseName "www"
PerlSetVar CASDatabaseHost "www.xxx.edu"
PerlSetVar CASDatabasePort "5432"
PerlSetVar CASDatabaseDriver "Pg"
PerlSetVar CASDatabaseUser "zzz"
PerlSetVar CASDatabasePass "ppp"
PerlSetVar CASSessionCookieName "APACHECAS"
PerlSetVar CASSessionTimeout "1800"
PerlSetVar CASLogLevel "1"
PerlSetVar CASRemoveTicket "true"
*require valid-user*
Deny from all
Allow from 10.11.0.0/255.255.0.0
Satisfy any
----------------------
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070306/e8d48fcf/attachment.html
More information about the cas
mailing list