1<<if: ZXIDBOOK>>
2<<else: >>MediaWiki Setup Receipe for ZXID
3################################
4<<author: Sampo Kellom�ki (sampo@iki.fi)>>
5<<cvsid: $Id: mediawiki-zxid.pd,v 1.2 2009-08-25 16:22:44 sampo Exp $>>
6
71 Mediawiki Support
8===================
9
10<<fi: >>
11
12MediaWiki supports the SAML identity protocol so you can
13use your identity by supplying IdP URL to authenticate
14and log nto MediaWiki! SAML support was added by
15Sampo Kellomaki (sampo@iki.fi) and uses the zxid.org
16SSO library.
17
18This receipe is accurate as of Jan 2007, zxid-0.8 and MediaWiki-1.9.0
19
20Consider this receipe only one of many possible setups and not
21ncessarily even the best. The receipe worked for me in August 2006. If
22you come much later, things may have changed.
23
24This Apache setup aims to illustrate
25
26* mod_php5 invocation of zxid inside MediaWiki
27
281.1 Prerequisites
29-----------------
30
311. PHP (version 5 recommended)
32
332. zxid base and mod_ssl dependency: openssl-0.9.8d from http://openssl.org,
34   usually what comes with your Linux distribution is OK
35
363. Apache with mod_ssl and mod_php,
37   see <<link:apache.html: Apache Setup Receipe for ZXID>>
38
394. zxid base dependency: libcurl from http://curl.haxx.se/, usually
40   what comes with your Linux distribution is OK
41
425. zxid base, e.g. http://zxid.org/zxid-0.8.tgz
43
44     tar xvzf zxid-0.8.tgz
45     cd zxid-0.8
46     make dep
47     make
48
496. zxid for PHP (part of zxid base)
50
51     make phpzxid
52     make phpzxid_install  # Possibly as root
53
541.2 Building MediaWiki
55----------------------
56
571. Get MediaWiki from mediawiki.org
58
591.3 Trying It Out
60-----------------
61
62Use browser to access following URLs to try your accomplishments out:
63
641. https://sp1.zxidsp.org:8443/README.zxid tests (tests simple file access
65   and that the server works at all)
66
67<<if: ZXIDBOOK>>
68<<else: >>
69
70<<htmlpreamble: <title>Apache Setup Receipe for ZXID</title><body bgcolor="#330033" text="#ffaaff" link="#ffddff" vlink="#aa44aa" alink="#ffffff"><font face=sans><h1>Apache Setup Receipe for ZXID</h1> >>
71<<EOF: >>
72
73Note: janrain.diff is about 1078 lines.
74
75http://www.mediawiki.org/wiki/Category:Extensions
76
77<<fi: >>
78