per page, with , order by , clip by
Results of 1 - 3 of about 3 for WSGIScriptAlias (0.002 sec.)
Django を Apache と mod_wsgi とともに使うには? 11049
Django を Apache と mod_wsgi とともに使うには? Apache と mod_wsgi と共にDjangoをデプロイすることは、Djangoを製品とする際に試され、テストされた方法です。 mod_wsgi は、Djangoを含む任意のPythonの WSGI アプリケーションをホストできるApacheのモジ ... しょう。 基本設定 mod_wsgiをインストールして有効にしたら、Apacheサーバーの httpd.conf ファイルを編集して、以下を追加します。 WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIPythonHome /path/to/venv WSGIPythonPath /path/to/mysite.com <Directory /path/to/m ... ysite.com/mysite > <Files wsgi.py > Require all granted </Files> </Directory> WSGIScriptAlias の行の最初の部分は、あなたがアプリケーションを提供したいベースとなるURLパスであり( / ルートURLを示している)、二番目の部分は ... ocessGroup example.com サブディレクトリでプロジェクトを提供したい場合は(本例では https://example.com/mysite となります) 、 WSGIScriptAlias を設定の上部に追記します。 WSGIScriptAlias /mysite /path/to/mysite.com/mysite/wsgi.py process-group=example.com 詳細につい ...
https://man.mtool.work/django/6.1/howto/deployment/wsgi/modwsgi.html
Django のユーザーデータベースに対する Apache からの認証 10101
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 ... っていることを確認してください。 次に、Apacheの設定を編集して、認証されたユーザだけが閲覧できるようにしたい場所を追加します: WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIPythonPath /path/to/mysite.com WSGIProcessGroup %{GLOBAL} WSGIApplicationGroup %{ ... od_wsgi に指示します。この例では、 WSGIAuthUserScript は django-admin startproject で作成される アプリケーションを定義する WSGIScriptAlias と同じです。 Using Apache 2.2+ with authentication mod_auth_basic と mod_authz_user がロードされていることを確認してくださ ... った認可 mod_wsgi は、グループのメンバーに特定の場所を制限する機能も提供します。 この場合、Apacheの設定は次のようになります: WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIProcessGroup %{GLOBAL} WSGIApplicationGroup %{GLOBAL} <Location "/secret" > AuthT ...
https://man.mtool.work/django/6.1/howto/deployment/wsgi/apache-auth.html
リクエストとレスポンスのオブジェクト 6715
リクエストとレスポンスのオブジェクト 簡単な概要 Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います。 あるページがリクエストされたとき、Django はリクエストに関するメタデータを含んだ HttpRequest ... りに使用することで、テストサーバーとデプロイメントサーバー間でコードを移動させやすくなります。 たとえば、アプリケーションの WSGIScriptAlias が "/minfo" に設定されている場合、 path が "/minfo/music/bands/the_beatles/" である一方、 path_info は "/music/bands/the_b ...
https://man.mtool.work/django/6.1/ref/request-response.html
PREV 1 NEXT