【发布时间】:2014-11-13 22:36:04
【问题描述】:
是否可以在 Apache2.4 中使用 'wsgi' 作为 AuthFormProvider?
作为第一次尝试,我编辑了找到here 的示例。 配置现在看起来像这样但不起作用:
<Location "/test">
AuthType Form
AuthFormProvider wsgi
AuthName "test"
AuthFormLoginRequiredLocation /login.html
WSGIAuthUserScript /path/to/django/wsgi.py
WSGIAuthGroupScript /path/to/django/wsgi.py
Require Group test
Require valid-user
Session On
SessionCookieName xyz path/
SessionCrypotPassphrase 123456789
</Location>
【问题讨论】:
标签: python django mod-wsgi apache2.4