【问题标题】:error apache configuration error: couldn't perform authentication. AuthType not set!: / on centos 6错误 apache 配置错误:无法执行身份验证。 AuthType 未设置!:/ 在 centos 6
【发布时间】: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

请指导我。

【问题讨论】:

    标签: django apache centos


    【解决方案1】:

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

    “要求全部授予”

    “所有人都允许”

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-02-11
      • 2014-02-18
      • 1970-01-01
      • 2016-10-06
      • 1970-01-01
      • 1970-01-01
      • 2013-08-06
      相关资源
      最近更新 更多