【发布时间】:2016-05-17 04:29:34
【问题描述】:
我想要在 CentOS 6 使用阿帕奇。我设置了 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
请指导我。
【问题讨论】: