Sharing directory error

44 views
Skip to first unread message

Stefano

unread,
Sep 2, 2015, 9:35:59 AM9/2/15
to Vagrant
Hi i have create a box with centos 6.6 and apache, i have shared the /var/www/html to local host:

config.vm.synced_folder "html", "/var/www/html", owner: "apache", group: "apache"

The folder on the vagrant machine have correct owner but when start httpd i have this error:

httpd starten: Syntax error on line 292 of /etc/httpd/conf/httpd.conf:
DocumentRoot '/var/www/html' is not a directory, or is not readable

Stefano

unread,
Sep 2, 2015, 11:30:52 AM9/2/15
to Vagrant
Sorry, i resolved, it's a problem of vagrant vbox
Reply all
Reply to author
Forward
0 new messages