当前位置: 首页 > 知识库问答 >
问题:

Apache:“authtype not set!”500误差

谢鸿羲
2023-03-14

我已经有一段时间没有使用Apache httpd web服务器了。我正在为一个项目启动本地服务器,当我试图请求localhost/index.html时,我得到了一个500错误,我在错误日志中看到了这一点:

[Tue Jan 21 09:23:58 2014] [crit] [client ::1] configuration error:  couldn't perform authentication. AuthType not set!: /index.html
[Tue Jan 21 09:23:58 2014] [error] an unknown filter was not added: DEFLATE
[Tue Jan 21 09:23:58 2014] [crit] [client ::1] configuration error:  couldn't perform authentication. AuthType not set!: /favicon.ico
<Directory "/var/www">
    AllowOverride None
    # Allow open access:
    Require all granted
</Directory>
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule deflate_module modules/mod_deflate.so

问题仍然存在,我如何解决这个500错误?

[Tue Jan 21 09:44:20 2014] [crit] [client ::1] 
configuration error:  couldn't perform authentication. 
AuthType not set!: /index.html

共有1个答案

罗梓
2023-03-14

删除表示

Require all granted

只有在Apache>=2.4上才需要

 类似资料:
  • 几天来,我一直在试图找到一个正确启动Solr5.2.1的解决方案,但我总是得到这个错误: HTTP错误500 你对此有什么想法吗?多谢! 更新: 当我检查solr服务状态时:

  • 已经部署了一个测试设备,该设备发送到Azure IOT,然后向Dynamics 365报警。 我试图使用https://github.com/azure-samples/web-apps-node-iot-hub-data-visualization查看web应用程序中的数据 设置azure.iot.iothub.connectionstring=sb://iothub-ns-**********

  • 问题内容: 我有一个用PHP编写的页面。我无权访问服务器。我想这样做,而不是在PHP遇到错误时显示错误消息,而是给出500。 问题答案: 如果display_errors关闭,PHP 5.2默认会发送致命错误的HTTP 500。如果托管使用较旧的PHP,则必须注册自己的错误处理程序以及可能的异常处理程序,然后将用户重定向到您的500错误页面。尝试按照@Umang的建议在PHP脚本中设置displa

  • 我用Laravel开发了自己的网站。它在Localhost中运行良好。 所以我已经将我的文件移动到实时服务器(byethost.com)。当我试图访问我的网站,我得到了一个错误(服务器错误500)。我是新来的。请任何人帮助我解决我的问题。 注意:已将所有本地文件移动到服务器中的public_html文件夹中。然后将文件移动到服务器中的目录。并且还更改了应用程序文件中的路径。 代码: 免费托管网址:

  • 我在GAE上开发应用程序,我在本地测试网站,但是,每次我试图将其部署到GAE时,它都报告错误:服务器错误 我在谷歌搜索了很多,似乎没有答案可以解决我的问题。当我在GAE应用程序中查找日志时,以下是我目前发现的主要问题。最初,我认为这是JDK8的原因,但当我设置JDK8时,我甚至不能在本地运行应用程序!

  • 本文向大家介绍由Apache 500错误引出的临时文件问题分析解决,包括了由Apache 500错误引出的临时文件问题分析解决的使用技巧和注意事项,需要的朋友参考一下 查看apache日志,发觉是mod_fcgid模块异常,提示"Connection reset by peer:mod_fcgid:error reading data from FastCGI server"、"Premature