Auto-archiving in Piwik with CAS

Hi,

I tried to set auto-archiving in Piwik, but ran into problems with authentication when running archive.php since I am using CAS on the site:


# su www-data -c "/usr/bin/php5 archive.php --url=https://piwik.example.org"
PHP Notice:  Undefined index: QUERY_STRING in /var/www/piwik/plugins/CASLogin/CAS/CAS.php on line 36
PHP Notice:  Undefined index: HTTP_HOST in /var/www/piwik/plugins/CASLogin/CAS/CAS/client.php on line 2656
PHP Notice:  Undefined index: SERVER_PORT in /var/www/piwik/plugins/CASLogin/CAS/CAS/client.php on line 2666
PHP Notice:  Undefined index: SERVER_PORT in /var/www/piwik/plugins/CASLogin/CAS/CAS/client.php on line 2668
<html><head><title>CAS Authentication wanted!</title></head><body><h1>CAS Authentication wanted!</h1><p>You should already have been redirected to the CAS server. Click <a href="https://cas.example.org/login?service=http%3A%2F%2F%3Aarchive.php&gateway=true">here</a> to continue.</p><hr><address>phpCAS 1.1.3 using server <a href="https://cas.example.org/">https://cas.example.org/</a> (CAS 2.0)</a></address></body></html>

I have found that there is a request to make CAS native in Piwik (301 Moved Permanently), but I haven’t seen any progress on this. Does anyone know if it’s possible to configure auto-archiving with Piwik that uses CAS for authentication?

Otherwise, I am a very happy Piwik user:).

Thanks,
Martin

If you wanted this fix, your best bet would be to contract Piwik experts to make it work: http://piwik.org/consulting/#contact-consultant

My organization can’t afford to pay for a consultant right now, but hopefully others will be interested in this feature as well. Thanks for the link, though.