Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.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 无法为目录/var/www/html/:找不到匹配的DirectoryIndex(index.html)_Apache - Fatal编程技术网

Apache 无法为目录/var/www/html/:找不到匹配的DirectoryIndex(index.html)

Apache 无法为目录/var/www/html/:找不到匹配的DirectoryIndex(index.html),apache,Apache,我使用apache作为我的dotnet应用程序(dotnet coreapi)的反向代理服务器,该应用程序托管在centos中,我使用systemd服务来执行此api。有时我收到“找不到匹配的DirectoryIndex”错误。我在网上找到了类似的话题,但没有一个能帮助我解决这个问题。有人能帮我解决这个问题吗 下面提到的详细错误。 [autoindex:error][pid 18716][client xx:xx:xx:xx:48918]AH01276:无法提供目录/var/www/html/:

我使用
apache
作为我的
dotnet
应用程序(
dotnet core
api)的反向代理服务器,该应用程序托管在
centos
中,我使用
systemd
服务来执行此api。有时我收到“找不到匹配的DirectoryIndex”错误。我在网上找到了类似的话题,但没有一个能帮助我解决这个问题。有人能帮我解决这个问题吗

下面提到的详细错误。

[autoindex:error][pid 18716][client xx:xx:xx:xx:48918]AH01276:无法提供目录/var/www/html/:找不到匹配的目录索引(index.html),并且服务器生成的目录索引被Options指令禁止


在/var/www/html中是否有一个名为index.html的文件?权限呢?很抱歉回复太晚了。。是的,有index.html文件并且也有权限。正如我在帖子中提到的,我并不是每次都收到这个错误。所以我的假设是它与权限无关。嗯,有时候只是。。。然后查看性能统计信息(设置/状态页面)。您可能没有足够的客户端进程/线程来服务您的流量?我是linux新手。您能告诉我如何设置状态页吗?文档: