In a testing environment I migrated a working server configured to use
Moodle 2.6, Apache2, mod_fcgid, and all worked.

Moodle 2.6 includes phpCAS version  1.3.2.

I replaced mod_fcgid with mod_fastcgi and php-fpm to try to gain some
extra performance and stability.

However, under php-fpm it seems that the universe is correct to
regularly get phpCAS to construct the CAS url with the gateway=true cgi
option.

For our CAS server this breaks things.  No auth, no CAS page load, Its
as if the CAS server cant (or won't) respond to gateway=true requests at
all.


In the beginning we were testing the php-fpm upgrade, but perhaps we are
testing the Moodle upgrade to 2.6 as well.

Anyway, I can restore normal service by editing the Moodle provided
Client.php file and change all the occurrences of

$this->redirectToCas(true/* gateway*/);

to

$this->redirectToCas(false/* gateway */);


My question is what is going on and why is this needed?  Moodle has
always worked well with CAS and never needed this much testing to do an
upgrade.  I posted on the Moodle site and got no responses.


What is the point of gateway mode, and is it safe to disable completely?

Thaks for any help you can provide.

Rance

-- 
Rance Hall
Linux System Administrator
ESU 10 - GNENC
[email protected]
Office: 308-698-1919 or 308-237-5927 ext. 319
Fax: 308-233-9066

The flag does not fly because wind blows it.
It flies with the last breath of each soldier who died protecting it.


-- 
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