无法访问index.html

来源:7-2 Apache的虚拟主机配置及伪静态操作

changezyc

2018-04-29

请问老师,我的VirtualHosts的DocumentRoot和<Directory>都已经配了 data/www,仍无法指向定制的index.html,但是报错和您视频的报错不一样,所以以下报错是什么意思呢?

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message

[Sat Apr 28 14:11:29.604310 2018] [auth_digest:notice] [pid 3236] AH01757: generating secret for digest authentication ...

[Sat Apr 28 14:11:29.605192 2018] [lbmethod_heartbeat:notice] [pid 3236] AH02282: No slotmem from mod_heartmonitor

[Sat Apr 28 14:11:29.609896 2018] [mpm_prefork:notice] [pid 3236] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations

[Sat Apr 28 14:11:29.609938 2018] [core:notice] [pid 3236] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'


[Sat Apr 28 14:21:51.546818 2018] [core:error] [pid 3313] (13)Permission denied: [client 192.168.0.102:6169] AH00035: access to /index.html denied (filesystem path '/data/www/index.html') because search permissions are missing on a component of the path


写回答

1回答

changezyc

提问者

2018-04-29

已解决,按老师所提供的方法即可

0
1
Raysnake
请问老师提供了什么方法呢
2018-05-02
共1条回复

快速上手Linux 玩转典型应用

以主流CentOS 7 操作系统为例,系统讲解Linux,真实线上环境助你快速上手,独立配置运维服务器

1663 学习 · 572 问题

查看课程