DocumentRoot '/mnt/hgfs' is not a directory, or is not readable
/mnt/hgfs是通过window共享给centos的,可以访问,但无法把它设置为Apache的目录,请问怎么解决。
或者有没有其他方法可以把共享目录设置为Apache的网站默认目录
已解决
关掉selinux即可
vim /etc/sysconfig/selinux
SELINUX=enforcing该成SELINUX=disabled
重启
可能是/mnt/hgfs这个目录比较特殊吧。
DocumentRoot '/mnt/hgfs' is not a directory, or is not readable
提示目标路径不是一个目录或者目录不可读,你检查一下是否有合适的权限(一般来说所有用户都会有读权限的,所以可能不是权限的问题)。