首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >错误apache配置错误:无法执行身份验证。AuthType未设置!:/ on centos 6

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

Stack Overflow用户
提问于 2016-02-07 13:13:29
回答 1查看 4.5K关注 0票数 3

我想在CentOS 6中使用Apache。我设立了Django 1.8。Apache配置如下所示。

代码语言:javascript
运行
复制
 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>

但是内部服务器在运行时出错。并写入以下错误日志。

代码语言:javascript
运行
复制
configuration error:  couldn't perform authentication. AuthType not set!: /io

请引导我。

EN

回答 1

Stack Overflow用户

发布于 2016-11-29 22:50:14

如果apache版本低于2.4,请更改

“要求所有给予”

“人人都允许”

票数 11
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35253915

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档