[foaf-dev] who can help me install WebID through its new debian package?

Michiel de Jong <[email protected]>
Newsgroups gmane.comp.web.rdfweb
Message-ID <[email protected]>
Hi!

I am trying out the new WebID Debian package (see
http://lists.alioth.debian.org/pipermail/freedombox-discuss/2011-March/000951.html)

I have done the following:
dist-upgrade lenny->squeeze and squeeze->unstable
install a https-site with self-signed ssl cert on my apache
add "deb http://debian.jones.dk/ sid freedombox" to my sources.list
install  libcgi-auth-foaf-ssl-perl
copy the Synopsis from /usr/share/doc/libcgi-auth-foaf-ssl-perl/README to
/usr/lib/cgi-bin/webid.pl (with a shebang-line at the top)
add these three lines to the apache config:
==========
     SSLVerifyClient optional_no_ca
     SSLVerifyDepth  1
     SSLOptions +StdEnvVars +ExportCertData
==========
and run:
a2enmod perl

The result when i browse to https://<hostname>/cgi-bin/webid.pl is a 500
internal server error, and this error in the apache error log:

Can't call method "cookie" on an undefined value at /usr/lib/cgi-bin/
webid.pl line 7.

This would be where it tries to access $auth->cookie, where $auth has been
set to CGI::Auth::FOAF_SSL->new_from_cgi( CGI->new );

So apparently something is not configured right. The README didn't mention
explicit installation steps, so probably i have missed one somewhere. should
i enable something else somewhere? Any help, or pointers to what i should
try, very welcome.


Cheers!
Michiel

_______________________________________________
foaf-dev mailing list
foaf-dev-RyYwo1q5J+qsOXdr9/[email protected]
http://lists.foaf-project.org/mailman/listinfo/foaf-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.