错误apache配置错误:无法执行身份验证。 AuthType未设置!:/ on centos 6

时间:2016-02-07 13:13:29

标签: django apache centos

我想要在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

请指导我。

1 个答案:

答案 0 :(得分:10)

如果您的apache版本低于2.4更改

  

“要求全部授予”

  

“允许所有人”

相关问题