的Apache。 Django的。论坛:http://django-machina.readthedocs.io 使用git clone安装并迁移
为什么apache没有看到settings.dev文件?
apache2.conf:
WSGIScriptAlias / /var/www/django-machina/example_projects/vanilla/wsgi.py
WSGIPythonPath /var/www/django-machina/example_projects
<Directory /var/www/django-machina/example_projects>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
Alias /static/ /var/www/django-machina/example_projects/static/
<Location "/static/">
Options -Indexes
</Location>