per page, with , order by , clip by
Results of 1 - 2 of about 2 for WSGIPythonPath (0.001 sec.)
Django を Apache と mod_wsgi とともに使うには? 11228
Django を Apache と mod_wsgi とともに使うには? Apache と mod_wsgi と共にDjangoをデプロイすることは、Djangoを製品とする際に試され、テストされた方法です。 mod_wsgi は、Djangoを含む任意のPythonの WSGI アプリケーションをホストできるApacheのモジ ... f ファイルを編集して、以下を追加します。 WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIPythonHome /path/to/venv WSGIPythonPath /path/to/mysite.com <Directory /path/to/mysite.com/mysite > <Files wsgi.py > Require all granted </Files> </Directory> WSG ... トールする場合は、 WSGIPythonHome を使ってパスを追加します。詳しくは mod_wsgi virtual environment guide を参照してください。 WSGIPythonPath の行は、プロジェクトのパッケージは Python のパス上でインポートすることが可能であることを保証します。言い換えると、 import ... には、適切な WSGIDaemonProcess と WSGIProcessGroup ディレクティブを追加する必要があります。デーモンモードを使用する場合には WSGIPythonPath を使用できないため、上記設定にさらなる変更が求められます。代わりに WSGIDaemonProcess に python-path オプションを使用する必 ...
https://man.mtool.work/django/6.1/howto/deployment/wsgi/modwsgi.html
Django のユーザーデータベースに対する Apache からの認証 7485
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 ... 編集して、認証されたユーザだけが閲覧できるようにしたい場所を追加します: WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIPythonPath /path/to/mysite.com WSGIProcessGroup %{GLOBAL} WSGIApplicationGroup %{GLOBAL} <Location "/secret" > AuthType Basic AuthNam ...
https://man.mtool.work/django/6.1/howto/deployment/wsgi/apache-auth.html
PREV 1 NEXT