per page, with , order by , clip by
Results of 1 - 1 of about 1 for WSGIAuthUserScript (0.000 sec.)
Django のユーザーデータベースに対する Apache からの認証 9414
Django のユーザーデータベースに対する Apache からの認証 Since keeping multiple authentication databases in sync is a common problem when dealing with Apache, you can configure Apache to authenticate against Django's authentication system di ... cationGroup %{GLOBAL} <Location "/secret" > AuthType Basic AuthName "Top Secret" Require valid-user AuthBasicProvider wsgi WSGIAuthUserScript /path/to/mysite.com/mysite/wsgi.py </Location> WSGIAuthUserScript ディレクティブは、プロンプトから受け取ったユーザ名とパス ... ワードを渡して、指定した wsgi スクリプトの check_password 関数を実行するように mod_wsgi に指示します。この例では、 WSGIAuthUserScript は django-admin startproject で作成される アプリケーションを定義する WSGIScriptAlias と同じです。 Using Apache 2.2+ with a ... %{GLOBAL} WSGIApplicationGroup %{GLOBAL} <Location "/secret" > AuthType Basic AuthName "Top Secret" AuthBasicProvider wsgi WSGIAuthUserScript /path/to/mysite.com/mysite/wsgi.py WSGIAuthGroupScript /path/to/mysite.com/mysite/wsgi.py Require group secret-agents Requ ...
https://man.mtool.work/django/6.1/howto/deployment/wsgi/apache-auth.html
PREV 1 NEXT