Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache 阿帕奇:“;AuthType未设置”;500错误_Apache_Apache Config - Fatal编程技术网

Apache 阿帕奇:“;AuthType未设置”;500错误

Apache 阿帕奇:“;AuthType未设置”;500错误,apache,apache-config,Apache,Apache Config,我已经有一段时间没有在windows中使用Apache httpd web服务器了。 当我尝试请求localhost/index.html时,我得到一个500错误,我在错误日志中看到: [客户端127.0.0.1]配置错误:无法执行身份验证。未设置AuthType!:/ 可能涉及我的httpd.conf中的这一行 <Directory /> Options FollowSymLinks AllowOverride All Require all grante

我已经有一段时间没有在windows中使用Apache httpd web服务器了。 当我尝试请求localhost/index.html时,我得到一个500错误,我在错误日志中看到:

[客户端127.0.0.1]配置错误:无法执行身份验证。未设置AuthType!:/

可能涉及我的httpd.conf中的这一行

 <Directory />
    Options FollowSymLinks
    AllowOverride All
    Require all granted
 </Directory>

选项如下符号链接
允许超越所有
要求所有授权
我的apache版本是2.2
操作系统:Windows7
如何解决此500错误?

删除行
要求所有已授予的


Allow from all
在版本中apache error.log对此有何说明?[Tue May 31 22:44:45 2016][crit][client 127.0.0.1]配置错误:无法执行身份验证。未设置AuthType!:/很抱歉,没有看到错误消息,因为它的格式不正确。当我按照您所说的删除该行并重新启动apache时,当我看到index.php时,更改为下载page@stefansaye,因此,您不再收到500错误,但index.php没有按预期工作?Apache正在下载php文件,而不是显示这些文件。答案是centos,@stefansaye,抱歉,您的评论不完整