我有流浪者,CentOS 6.2和Apache,所以当尝试从已挂载的流浪者文件夹运行项目时,我得到:Starting httpd: Warning: DocumentRoot [/var/www/ssv4/ssv4] does not exist
共享文件夹的配置如下:config.vm.share_folder("ssv4", "/var/www/ssv4", "../", :owner=> 'vagrant', :group=>'apache', :extra => 'dmode=775,fmode=775')
。
在我使用ubuntu之前,一切都还好。有什么解决办法吗?
最佳答案
我找到了解决方案,如果SELinux被禁用,它会起作用:sudo nano /etc/selinux/config
并将SELINUX行更改为SELINUX = disabled
关于linux - Apache没有权限安装挂载的Vagrant文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13785835/