wiki:ModWsgiAcctmgrScript

Version 2 (modified by John Hampton, 16 years ago) (diff)

--

Mod_WSGI Acctmgr

Notice: This plugin is unmaintained and available for adoption.

Description

Use the AccountManagerPlugin to provide authentication to apache.

Bugs/Feature Requests

Existing bugs and feature requests for ModWsgiAcctmgrScript are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:modwsgiacctmgrscript here].

Source

You can check out ModWsgiAcctmgrScript from here using Subversion, or browse the source with Trac.

Example

Apache config:

WSGIPythonPath /var/trac-0.11dev/lib/python2.4/site-packages
<VirtualHost *:80>
  ServerName hostname.domain
  <Location /svn>
    DAV svn
    SVNPath /srv/trac/svn/it
    AuthType Basic
    AuthName "Account Manager Auth"
    AuthBasicProvider wsgi
    WSGIAuthUserScript /path/to/script/acctmgr_auth.wsgi
    Require valid-user
  </Location>
</VirtualHost>

The TRAC_ENV and PYTHON_EGG_CACHE need to be modified and set inside the script.

Recent Changes

3045 by pacopablo on 2008-01-12 09:18:26
  • Initial import
3044 by pacopablo on 2008-01-12 09:10:36
New hack ModWsgiAcctmgrScript, created by pacopablo
(more)

Author/Contributors

Author: pacopablo
Contributors: