Hi,

Software used:  Virtualbox 5.04 and Vagrant 1.74 and Puphpet
Os: Win 10

 

Can someone please assist,
I’m having problems pointing and display files in the virtual environment, 
its reading from the wrong place.

It’s displaying the “Congratulations! You are pretty awesome” page from 
g:\www\jmscc\html

 

1.       It creates a directory "HTML" inside the g:\www\jmscc
How can i set it so that is read and display the files in the g:\www\jmscc

 

 

               source: 'G:\\www\\jmscc'

                target: /var/www

 

my vhost is… 

docroot: /var/www/jmscc
path: /var/www/jmscc

 

2.       Can I run 2 or more virtual hosts inside the same virtual machine..
Got it working on WAMP by changing the httpd-vhosts.conf

<VirtualHost *:80>

                ServerName jmscc.local

                DocumentRoot " G:/www/jmscc/"

 

                <Directory " G:/www/jmscc/">

                                Options Indexes FollowSymLinks

                                                AllowOverride all

                                                                Order 
Deny,Allow

                                                Deny from all

                                                Allow from 127.0.0.1  

                </Directory>

</VirtualHost>

 

<VirtualHost *:80>

                ServerName woods3.local

                DocumentRoot "G:/www/woods3/"

 

                <Directory "G:/www/woods3/">

                                Options Indexes FollowSymLinks

                                                AllowOverride all

                                                                Order 
Deny,Allow

                                                Deny from all

                                                Allow from 127.0.0.1  

                </Directory>

</VirtualHost>

  

Thanks

 

 

 

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/c128fcaf-525b-44bf-81f2-cf73b55c6451%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: config.yaml
Description: Binary data

Reply via email to