是否可以在 Apache2.4 中使用 'wsgi' 作为 AuthFormProvider?
作为第一次尝试,我编辑了此处找到的示例。配置现在看起来像这样但不起作用:
<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>