On Thu, 2007-01-04 at 19:25 -0500, Perrin Harkins wrote: > Put that in a namespace so it won't get interpreted as a directive: > $My::Auth_admin = CAS::Apache::Auth->new({CLIENT_ID => > $CAS_admin_client}); >
*nodnod* Thanks! > > Oops, I'm calling the method instead of setting it as a handler. > > Perhaps setting it as a coderef? So I changed PerlAuthenHandler to: > > PerlAuthenHandler => \$Auth_admin->authen, > > When you use it in a regular config directive, it gets treated as a > string. In a PerlSection, it is eval'ed as perl. In this context, I > think you'd need to change it to something like this: > > PerlAuthenHandler => sub { $Auth_admin->authen }, > > or maybe even this: > > PerlAuthenHandler => sub { CAS::Apache::Auth->authen($Auth_admin) }, I'll try those variations, just to see what it takes for future reference. Thanks!! -- Sean P Quinlan <[EMAIL PROTECTED]>