You don't have permission to access /cdh5.14.0/ on this server

 

 

 先检查httpd服务是否正常,新建HTML⻚⾯,放置到Apache⽹⻚⽬录中:

1、[root@localhost ~]# cd /var/www/html
2、[root@localhost html]# vim index.html
#编写如下图所示的示例网页:<html> <head><title>index.html</title></head> <body> The Apache is works! </body> </html>

如果显示这个则表示正常,You don't have permission to access /cdh5.14.0/ on this server,如果不是这样则表示前面的配置出错,参考https://blog.csdn.net/qq_43213352/article/details/89321931。

 

 

 

 

结论:这里说一下我出错的原因,因为把/cdh5.14.0/文件放在/root目录下面了,在结合don't have permission;然后我把文件放在/home目录下就行了。

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-11
  • 2021-08-11
  • 2022-02-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2021-08-03
  • 2022-01-12
  • 2021-11-27
  • 2022-12-23
相关资源
相似解决方案