Which cas module are you using with Apache? Is it mod_auth_cas or mod_cas? If mod_auth_cas, please make sure you use the latest version (1.0.8).
-Matt -----Original Message----- From: Abhishek Gupta <[email protected]> Reply-to: "[email protected]" <[email protected]> To: [email protected] <[email protected]> Subject: [cas-user] CAS authentication on single file Date: Tue, 23 Feb 2010 10:18:07 -0500 Hi, I am trying to implement CAS authentication on a single file which is a php script. I tried using cas module using <Files> directive in .htaccess file but it didn't work though it works for a <Directory> directive. So I tried CAS authentication adding a few lines directly into the php script. It works but it shows the following page first and I have to manually redirect it to CAS authentication page. The server is running RHEL4, and I am using CAS1.0.1 Is it some compatibility issue or something additional I have to do? Also why is <Files> directive not working? Thanks, Abhi. Message displayed on browser: CAS Authentication wanted! You should already have been redirected to the CAS server. Click here to continue. ________________________________________________________________________ phpCAS 1.0.1 using server https://fed.princeton.edu:443/cas/ (CAS 2.0) -- 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 -- Matthew J. Smith <[email protected]> University Information Technology Services -- 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
