我见过非常相似的问题,但我看不出这些修复与我的问题有何关联。我有一个 django 服务器正在运行并且工作正常,我已经设置了 apache 让它在那里运行,配置文件如下:
Alias /static /home/dev/pidjango/gamificationECM2434/mysite/static
<Directory /home/dev/pidjango/gamificationECM2434/mysite/static>
Require all granted
</Directory>
<Directory /home/dev/pidjango/gamificationECM2434/mysite/mysite>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
WSGIDaemonProcess django python-path=/home/dev/pidjango/gamificationECM2434/mysite python-home=/home/dev/pidjango/djenv
WSGIProcessGroup exSeed
WSGIScriptAlias / /home/dev/pidjango/gamificationECM2434/mysite/mysite
有什么帮助吗?