Apache Django連携

投稿者:

/etc/httpd/conf.d/django.conf
WSGIScriptAlias / path to project/project/wsgi.py
WSGIPythonPath path to project
WSGIPassAuthorization On
<Directory path to project/project/>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
Alias /static/ /path to project/app/static/
<Directory path to project/app/static>
Require all granted
</Directory>

Thank you for reading this post, don't forget to subscribe!