FW: apache2 openid mod (fwd)

Brad Fitzpatrick brad at danga.com
Mon May 23 13:01:46 PDT 2005

---------- Forwarded message ----------
Date: Mon, 23 May 2005 15:45:13 -0400
From: "Clarke, Trevor" <tclarke at ball.com>
To: yadis at lists.danga.com
Subject: FW: apache2 openid mod

Dear moderator:

I'm having trouble sending from me subscribed to address
(Trevor at notcows.com). Could you forward the attached message to the
yadis mailing list?


Trevor R.H. Clarke

tclarke <mailto:tclarke at ball.com>  at ball com

Ball Aerospace & Technologies Corp

-----Original Message-----
From: Trevor R.H. Clarke [mailto:trevor at notcows.com]
Sent: Monday, May 23, 2005 3:42 PM
To: 'yadis at lists.danga.com'
Subject: apache2 openid mod

Here's some initial work on an apache2 auth handler for OpenID. It's
written in python so you'll need mod_python to try it out. It uses
redirects to perform the necessary identification steps. To try it out:
put the mod_auth_openid.py file somewhere on your server (in the
example, /etc/apache2/extramodules) then add an .htaccess (or modify
httpd.conf) for a directory to use openid checks.

PythonPath "['/etc/apache2/extramodules/']+sys.path"

PythonAuthenHandler mod_auth_openid

AuthType Basic

AuthName "OpenID"

PythonOption trust_root http://www.notcows.com

require valid-user

The PythonOption trust_root is optional. If it does not exist,
openid.trust_root will not be set. Let me know how it works and please
post some patches/fixes as this is far from complete or robust. It might
function as a starting point for incorporating OpenID into MT, etc.


Trevor R.H. Clarke

tclarke at ball com <mailto:tclarke at ball.com>

Ball Aerospace & Technologies Corp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod_auth_openid.py
Type: application/octet-stream
Size: 1476 bytes
Desc: mod_auth_openid.py
Url : http://lists.danga.com/pipermail/yadis/attachments/20050523/3423fa3a/mod_auth_openid.obj
-------------- next part --------------
yadis mailing list
yadis at lists.danga.com

More information about the yadis mailing list