我想在CentOS 6中使用Apache。我设立了Django 1.8。Apache配置如下所示。
WSGIScriptAlias /io /home/ahmad/io/io/wsgi.py
WSGIPythonPath /home/ahmad/io/:/home/ahmad/io/io/:/home/ahmad/myprojectenv/lib/python3.4/site-packages
Alias /static/ "/home/ahmad/io/static/"
DocumentRoot /home/ahmad/io/
<Directory /home/ahmad/io/io/>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
但是内部服务器在运行时出错。并写入以下错误日志。
configuration error: couldn't perform authentication. AuthType not set!: /io
请引导我。
发布于 2016-11-29 22:50:14
如果apache版本低于2.4,请更改
“要求所有给予”
至
“人人都允许”
https://stackoverflow.com/questions/35253915
复制相似问题