Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

Auto-archiving in Piwik with CAS

$
0
0
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 (http://forum.piwik.org/read.php?3,78340), 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

Viewing all articles
Browse latest Browse all 13117

Trending Articles