Hi all I made a simple vagrant box using hashicorp/precise32 with this confugration changes config.vm.network :forwarded_port, guest: 80, host: 1234 config.vm.network :private_network, type: "dhcp" config.vm.synced_folder ".", "/vagrant"
After i logged into vagrant with ssh i runned these commands sudo apt-get update sudo apt-get install apache2 then i changed in /etc/apache2/sites-enabled/default document root to /vagrant and i restarted the apache server and in the host opened in browser http://localhost:1234/ And gives me *You don't have permission to access / on this server.* I have tried numerous solution what i have found on google, but none of seems to work. I have tried to add these into synced_folder config.vm.synced_folder ".", "/vagrant",id: "vagrant-root" , owner: "www-data", group: "www-data", mount_options: ['dmode=777','fmode=777'] But no help I have treid to run Apache with user vagran, still no help. I have OSX 10.10.2 Vagrant 1.7.2 VirtualBox 4.3.24 Can somebody help me with taht problem -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
